diff --git a/codegenerator/openapi/keystone.py b/codegenerator/openapi/keystone.py index 183d6b9..c838cdf 100644 --- a/codegenerator/openapi/keystone.py +++ b/codegenerator/openapi/keystone.py @@ -160,7 +160,7 @@ class KeystoneGenerator(OpenStackServerSourceBase): openapi_spec, args.api_ref_src, allow_strip_version=False ) - self.dump_openapi(openapi_spec, impl_path, args.validate, "image") + self.dump_openapi(openapi_spec, impl_path, args.validate, "identity") lnk = Path(impl_path.parent, "v3.yaml") lnk.unlink(missing_ok=True) diff --git a/codegenerator/openapi/keystone_schemas/domain.py b/codegenerator/openapi/keystone_schemas/domain.py index 3f9e0a6..ab682ca 100644 --- a/codegenerator/openapi/keystone_schemas/domain.py +++ b/codegenerator/openapi/keystone_schemas/domain.py @@ -104,13 +104,13 @@ DOMAIN_CONFIG_GROUP_OPTION_SCHEMA: dict[str, Any] = { } DOMAIN_LIST_PARAMETERS: dict[str, dict] = { - "domain_name": { + "domains_name": { "in": "query", "name": "name", "description": "Filters the response by a domain name.", "schema": {"type": "string"}, }, - "domain_enabled": { + "domains_enabled": { "in": "query", "name": "enabled", "description": "If set to true, then only domains that are enabled will be returned, if set to false only that are disabled will be returned. Any value other than 0, including no value, will be interpreted as true.",