diff options
| author | Ed Tanous <ed.tanous@intel.com> | 2019-01-03 14:09:56 -0800 |
|---|---|---|
| committer | Ed Tanous <ed.tanous@intel.com> | 2019-02-06 13:30:13 -0800 |
| commit | 63faafa51e36aee569af10cb40cbd32bafc68e33 (patch) | |
| tree | 473b8e7d1d2219d14b498aa1783356b8760f2903 /scripts | |
| parent | ceac6f75c3c6b2d5f4c430250daa2a98e4548220 (diff) | |
| download | bmcweb-63faafa51e36aee569af10cb40cbd32bafc68e33.tar.gz bmcweb-63faafa51e36aee569af10cb40cbd32bafc68e33.zip | |
Fix bad link in Redfish JsonSchemas ID
Change-Id: I993ae392d87a19acd51fe093f8244a9c781dd339
Signed-off-by: Ed Tanous <ed.tanous@intel.com>
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/update_schemas.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |

