changes to schema updater

This commit is contained in:
noam 2023-11-16 17:02:58 +02:00
parent bc3359a1c1
commit 331c24acb0
2 changed files with 7 additions and 1 deletions

View File

@ -1121,11 +1121,12 @@ DeepParser::createInternalParser(
dbgTrace(D_WAAP_DEEP_PARSER) << "Starting to parse a JSON file";
// Send openApiReceiver as secondary receiver,
// but only if the JSON is passed in body and on the top level.
bool should_collect_for_oa_schema_updater = false;
m_parsersDeque.push_back(
std::make_shared<BufferedParser<ParserJson>>(
*this,
NULL,
should_collect_for_oa_schema_updater,
parser_depth + 1
));
offset = 0;

View File

@ -256,6 +256,11 @@ void WaapConfigBase::loadOpenRedirectPolicy(cereal::JSONInputArchive& ar)
const list<shared_ptr<OpenApiParser>> WaapConfigBase::get_OpenAPIParsers() const
{
return m_openApiParsers;
}
const std::vector<std::string> &
WaapConfigBase::get_applicationUrls() const
{