Prepare identity.domain schemas

domain schemas are going to land in keystone soon and we need to fix
eventual param duplication

Change-Id: I81626317cf65fe9bb2281794e28ad68739afa395
This commit is contained in:
Artem Goncharov
2024-12-05 19:40:32 +01:00
parent 8ecbde6b05
commit 7f06d3a32b
2 changed files with 3 additions and 3 deletions

View File

@@ -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)

View File

@@ -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.",