From 63faafa51e36aee569af10cb40cbd32bafc68e33 Mon Sep 17 00:00:00 2001 From: Ed Tanous Date: Thu, 3 Jan 2019 14:09:56 -0800 Subject: Fix bad link in Redfish JsonSchemas ID Change-Id: I993ae392d87a19acd51fe093f8244a9c781dd339 Signed-off-by: Ed Tanous --- scripts/update_schemas.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/update_schemas.py b/scripts/update_schemas.py index a3c49df..774d1ac 100755 --- a/scripts/update_schemas.py +++ b/scripts/update_schemas.py @@ -126,11 +126,11 @@ for schema, version in schema_files.items(): location_json["PublicationUri"] = ( "http://redfish.dmtf.org/schemas/v1/" + schema + ".json") location_json["Uri"] = ( - "/redfish/v1/JSONSchemas/" + schema + "/" + schema + ".json") + "/redfish/v1/JsonSchemas/" + schema + "/" + schema + ".json") index_json = OrderedDict() index_json["@odata.context"] = "/redfish/v1/$metadata#JsonSchemaFile.JsonSchemaFile" - index_json["@odata.id"] = "/redfish/v1/JSONSchemas/" + schema + index_json["@odata.id"] = "/redfish/v1/JsonSchemas/" + schema index_json["@odata.type"] = "#JsonSchemaFile.v1_0_2.JsonSchemaFile" index_json["Name"] = schema + " Schema File" index_json["Schema"] = "#" + schema + "." + schema -- cgit v1.2.3