summaryrefslogtreecommitdiff
path: root/redfish-core/lib/service_root.hpp
diff options
context:
space:
mode:
authorEd Tanous <ed.tanous@intel.com>2018-07-26 22:47:19 +0300
committerEd Tanous <ed.tanous@intel.com>2018-09-17 19:25:06 +0300
commit683f7276576dbf0bf7770570190f6b5b4e84d4c9 (patch)
tree5ce732faa82e8360367006c510e9797bb7ee51d1 /redfish-core/lib/service_root.hpp
parentcc340dd933d38095214a0eeb7c1ee77510bd30cd (diff)
downloadbmcweb-683f7276576dbf0bf7770570190f6b5b4e84d4c9.tar.xz
Implement JsonSchema endpoint
This patchset implements JsonSchema support, and automates our update of the XML metadata, and Json schema files in the future by way of a python script. Change-Id: Iec6f580d10736678149db18d87be2f140b535be9 Signed-off-by: Ed Tanous <ed.tanous@intel.com> Signed-off-by: James Feist <james.feist@linux.intel.com>
Diffstat (limited to 'redfish-core/lib/service_root.hpp')
-rw-r--r--redfish-core/lib/service_root.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/redfish-core/lib/service_root.hpp b/redfish-core/lib/service_root.hpp
index d2c5163a8a..bf66c2e655 100644
--- a/redfish-core/lib/service_root.hpp
+++ b/redfish-core/lib/service_root.hpp
@@ -36,6 +36,7 @@ class ServiceRoot : public Node
Node::json["RedfishVersion"] = "1.1.0";
Node::json["Links"]["Sessions"] = {
{"@odata.id", "/redfish/v1/SessionService/Sessions"}};
+ Node::json["JsonSchemas"] = {{"@odata.id", "/redfish/v1/JsonSchemas"}};
Node::json["UUID"] = getUuid();