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:
@@ -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)
|
||||
|
||||
@@ -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.",
|
||||
|
||||
Reference in New Issue
Block a user