From 268131f76648df12a9960e0cee3f9580e3dbbbe7 Mon Sep 17 00:00:00 2001 From: Artem Goncharov Date: Fri, 5 Apr 2024 11:00:27 +0200 Subject: [PATCH] fix keystone federation mapping schema federation mapping schema in keystone is broken. Fix it locally while waiting for the schema fix to land upstream Change-Id: I240c463e859ff0224495ee6c97eec35b97b0f7f7 --- codegenerator/openapi/keystone_schemas/federation.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/codegenerator/openapi/keystone_schemas/federation.py b/codegenerator/openapi/keystone_schemas/federation.py index 3cf9d44..f6c4e4e 100644 --- a/codegenerator/openapi/keystone_schemas/federation.py +++ b/codegenerator/openapi/keystone_schemas/federation.py @@ -141,6 +141,10 @@ MAPPING_PROPERTIES = replace_refs( proxies=False, ) MAPPING_PROPERTIES.pop("definitions", None) +MAPPING_PROPERTIES["properties"]["schema_version"] = { + "type": "string", + "description": "Mapping schema version", +} MAPPING_SCHEMA: dict[str, Any] = { "type": "object", "properties": {