summaryrefslogtreecommitdiff
path: root/redfish-core/lib/redfish_v1.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'redfish-core/lib/redfish_v1.hpp')
-rw-r--r--redfish-core/lib/redfish_v1.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/redfish-core/lib/redfish_v1.hpp b/redfish-core/lib/redfish_v1.hpp
index 8ea46d81f6..a9b81e423b 100644
--- a/redfish-core/lib/redfish_v1.hpp
+++ b/redfish-core/lib/redfish_v1.hpp
@@ -110,8 +110,8 @@ inline void jsonSchemaGet(App& app, const crow::Request& req,
}
nlohmann::json& json = asyncResp->res.jsonValue;
- json["@odata.id"] =
- crow::utility::urlFromPieces("redfish", "v1", "JsonSchemas", schema);
+ json["@odata.id"] = crow::utility::urlFromPieces("redfish", "v1",
+ "JsonSchemas", schema);
json["@odata.type"] = "#JsonSchemaFile.v1_0_2.JsonSchemaFile";
json["Name"] = schema + " Schema File";
json["Description"] = schema + " Schema File Location";
@@ -128,8 +128,8 @@ inline void jsonSchemaGet(App& app, const crow::Request& req,
nlohmann::json::array_t locationArray;
nlohmann::json::object_t locationEntry;
locationEntry["Language"] = "en";
- locationEntry["PublicationUri"] =
- "http://redfish.dmtf.org/schemas/v1/" + schema + ".json";
+ locationEntry["PublicationUri"] = "http://redfish.dmtf.org/schemas/v1/" +
+ schema + ".json";
locationEntry["Uri"] = crow::utility::urlFromPieces(
"redfish", "v1", "JsonSchemas", schema, std::string(schema) + ".json");