diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/update_schemas.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/update_schemas.py b/scripts/update_schemas.py index dc7312012d..762f02f10a 100755 --- a/scripts/update_schemas.py +++ b/scripts/update_schemas.py @@ -147,7 +147,7 @@ for schema, version in schema_files.items(): schema_file.write(zip_ref.read(zip_filepath)) with open(os.path.join(json_schema_path, "index.json"), 'w') as index_file: - members = [{"@odata.id": "/redfish/v1/JsonSchemas/" + schema + "/"} + members = [{"@odata.id": "/redfish/v1/JsonSchemas/" + schema} for schema in schema_files] members.sort(key=lambda x: x["@odata.id"]) |