From 752bc74a116bcf5a7c3c5cd87b8be61e4092eb62 Mon Sep 17 00:00:00 2001 From: Artem Goncharov Date: Tue, 6 May 2025 10:01:16 +0200 Subject: [PATCH] Fix typos in parameter names Change-Id: I652e8b85632789d5172593154ddd9fef7508f359 --- codegenerator/openapi/keystone_schemas/auth.py | 4 ++-- codegenerator/openapi/keystone_schemas/federation.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/codegenerator/openapi/keystone_schemas/auth.py b/codegenerator/openapi/keystone_schemas/auth.py index c5bb44c..3261631 100644 --- a/codegenerator/openapi/keystone_schemas/auth.py +++ b/codegenerator/openapi/keystone_schemas/auth.py @@ -163,11 +163,11 @@ AUTH_TOKEN_ISSUE_SCHEMA: dict[str, Any] = replace_refs( "properties": { "id": { "type": "string", - "descripion": "The ID of the application credential used for authentication. If not provided, the application credential must be identified by its name and its owning user.", + "description": "The ID of the application credential used for authentication. If not provided, the application credential must be identified by its name and its owning user.", }, "name": { "type": "string", - "descripion": "The name of the application credential used for authentication. If provided, must be accompanied by a user object.", + "description": "The name of the application credential used for authentication. If provided, must be accompanied by a user object.", }, "secret": { "type": "string", diff --git a/codegenerator/openapi/keystone_schemas/federation.py b/codegenerator/openapi/keystone_schemas/federation.py index 1702ce2..bf04969 100644 --- a/codegenerator/openapi/keystone_schemas/federation.py +++ b/codegenerator/openapi/keystone_schemas/federation.py @@ -313,7 +313,7 @@ def _get_schema_ref( TypeSchema( type="string", format="xml", - descripion="SAML assertion in XML format", + description="SAML assertion in XML format", ), ) ref = f"#/components/schemas/{name}" @@ -417,7 +417,7 @@ def _get_schema_ref( TypeSchema( type="string", format="xml", - descripion="Identity Provider metadata information in XML format", + description="Identity Provider metadata information in XML format", ), ) ref = f"#/components/schemas/{name}"