clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.
Change-Id: I75f89d2959b0f1338c20d72ad669fbdc1d720835
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/redfish-core/lib/redfish_v1.hpp b/redfish-core/lib/redfish_v1.hpp
index 8ea46d8..a9b81e4 100644
--- a/redfish-core/lib/redfish_v1.hpp
+++ b/redfish-core/lib/redfish_v1.hpp
@@ -110,8 +110,8 @@
}
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 @@
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");