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.hpp197 const std::string& schema, const std::string& schemaFile) in jsonSchemaGetFile() argument
200 if (schemaFile.find_first_not_of( in jsonSchemaGetFile()
209 if (!schemaFile.starts_with(schema)) in jsonSchemaGetFile()
215 filepath /= schemaFile; in jsonSchemaGetFile()
/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 …]
/openbmc/entity-manager/src/
H A Dutils.cpp133 bool validateJson(const nlohmann::json& schemaFile, const nlohmann::json& input) in validateJson() argument
137 valijson::adapters::NlohmannJsonAdapter schemaAdapter(schemaFile); in validateJson()
H A Dutils.hpp69 bool validateJson(const nlohmann::json& schemaFile,
H A Dentity_manager.cpp528 std::ifstream schemaFile(std::string(schemaDirectory) + "/" + in createAddObjectMethod() local
533 if (!schemaFile.good()) in createAddObjectMethod()
539 nlohmann::json::parse(schemaFile, nullptr, false, true); in createAddObjectMethod()