diff --git a/openapi/api-docs.yaml b/openapi/api-docs.yaml index d20683dbadae..b78a01cbd560 100644 --- a/openapi/api-docs.yaml +++ b/openapi/api-docs.yaml @@ -1666,7 +1666,7 @@ paths: content: application/json: schema: - $ref: '#components/schema/AuthorizationError' + $ref: '#components/schemas/AuthorizationError' 422: description: 'Validation error' content: @@ -18777,7 +18777,7 @@ components: AuthorizationError: properties: message: - description: 'The error message' + description: 'Invalid Token' type: string example: 'Invalid Token' errors: diff --git a/openapi/components/components.yaml b/openapi/components/components.yaml index 54c8b0c8d0c5..c5f8a18232bb 100644 --- a/openapi/components/components.yaml +++ b/openapi/components/components.yaml @@ -3836,7 +3836,7 @@ components: AuthorizationError: properties: message: - description: 'The error message' + description: 'Invalid Token' type: string example: 'Invalid Token' errors: diff --git a/openapi/paths/paths.yaml b/openapi/paths/paths.yaml index 6289ebbc9bb1..8b52e1e5ac1c 100644 --- a/openapi/paths/paths.yaml +++ b/openapi/paths/paths.yaml @@ -1642,7 +1642,7 @@ paths: content: application/json: schema: - $ref: '#components/schema/AuthorizationError' + $ref: '#components/schemas/AuthorizationError' 422: description: 'Validation error' content: