diff --git a/codegenerator/metadata.py b/codegenerator/metadata.py index a2fee4a..01fe425 100644 --- a/codegenerator/metadata.py +++ b/codegenerator/metadata.py @@ -945,11 +945,7 @@ def post_process_identity_operation( operation.targets["rust-cli"].response_key = "config" if "rust-cli" in operation.targets: - if "auth/catalog" == resource_name: - operation.targets["rust-cli"].cli_full_command = operation.targets[ - "rust-cli" - ].cli_full_command.replace("auth ", "") - elif "OS_FEDERATION" in resource_name: + if "OS_FEDERATION" in resource_name: operation.targets["rust-cli"].cli_full_command = operation.targets[ "rust-cli" ].cli_full_command.replace("OS-FEDERATION", "federation") diff --git a/metadata/identity_metadata.yaml b/metadata/identity_metadata.yaml index da4ea36..0be7586 100644 --- a/metadata/identity_metadata.yaml +++ b/metadata/identity_metadata.yaml @@ -138,7 +138,7 @@ resources: rust-cli: module_name: list sdk_mod_name: list - cli_full_command: catalog list + cli_full_command: auth catalog list identity.auth/token/OS_PKI/revoked: spec_file: wrk/openapi_specs/identity/v3.yaml api_version: v3