Go to the source code of this file.
◆ main()
Definition at line 3 of file issue-98.cpp.
4{
5 nlohmann::json nlBase{{"$ref", "#/unknown/keywords"}};
7
8 try {
10 } catch (const std::exception &e) {
11
12 if (std::string("after all files have been parsed, '<root>' has still the following undefined references: [/unknown/keywords]") == e.what())
13 return EXIT_SUCCESS;
14 }
15 return EXIT_FAILURE;
16}
nlohmann::json_schema::json_validator validator
References nlohmann::json_schema::json_validator::set_root_schema().