Home
last modified time | relevance | path

Searched refs:schemaFile (Results 1 – 5 of 5) sorted by relevance

/openbmc/bmcweb/redfish-core/lib/
H A Dredfish_v1.hpp206 const std::string& schema, const std::string& schemaFile) in jsonSchemaGetFile() argument
209 if (schemaFile.find_first_not_of( in jsonSchemaGetFile()
218 if (!schemaFile.starts_with(schema)) in jsonSchemaGetFile()
224 filepath /= schemaFile; in jsonSchemaGetFile()
/openbmc/entity-manager/src/entity_manager/
H A Dconfiguration.cpp129 bool validateJson(const nlohmann::json& schemaFile, const nlohmann::json& input) in validateJson() argument
133 valijson::adapters::NlohmannJsonAdapter schemaAdapter(schemaFile); in validateJson()
H A Dconfiguration.hpp51 bool validateJson(const nlohmann::json& schemaFile,
H A Ddbus_interface.cpp250 std::ifstream schemaFile{schemaPath}; in addObjectRuntimeValidateJson() local
252 if (!schemaFile.good()) in addObjectRuntimeValidateJson()
257 nlohmann::json::parse(schemaFile, nullptr, false, true); in addObjectRuntimeValidateJson()
/openbmc/phosphor-power/phosphor-regulators/test/
H A Dvalidate-regulators-config_tests.cpp3304 std::string schemaFile = in TEST() local
3319 command = validateTool + "-s " + schemaFile + configuration + fileName; in TEST()
3324 command = validateTool + "--schema-file " + schemaFile + configuration + in TEST()
3330 command = validateTool + schema + schemaFile + "-c " + fileName; in TEST()
3335 command = validateTool + schema + schemaFile + "--configuration-file " + in TEST()
3353 command = validateTool + schema + schemaFile; in TEST()
3365 command = validateTool + schema + schemaFile + "-c -c " + fileName; in TEST()
3370 command = validateTool + "-s -s " + schemaFile + configuration + in TEST()
3376 command = validateTool + schema + schemaFile + configuration; in TEST()
3386 command = validateTool + schema + schemaFile + configuration + in TEST()
[all …]