diff --git a/openapi/api-docs.yaml b/openapi/api-docs.yaml index 48f62e479514..d20683dbadae 100644 --- a/openapi/api-docs.yaml +++ b/openapi/api-docs.yaml @@ -1661,6 +1661,12 @@ paths: application/json: schema: $ref: '#/components/schemas/Client' + 403: + description: 'Authorization error' + content: + application/json: + schema: + $ref: '#components/schema/AuthorizationError' 422: description: 'Validation error' content: @@ -18768,6 +18774,20 @@ components: type: string type: object type: object + AuthorizationError: + properties: + message: + description: 'The error message' + type: string + example: 'Invalid Token' + errors: + properties: + value: + type: array + items: + type: string + type: object + type: object VendorContact: properties: id: diff --git a/openapi/components/components.yaml b/openapi/components/components.yaml index 2ad24c10978b..54c8b0c8d0c5 100644 --- a/openapi/components/components.yaml +++ b/openapi/components/components.yaml @@ -3833,6 +3833,20 @@ components: type: string type: object type: object + AuthorizationError: + properties: + message: + description: 'The error message' + type: string + example: 'Invalid Token' + errors: + properties: + value: + type: array + items: + type: string + type: object + type: object VendorContact: properties: id: diff --git a/openapi/paths/paths.yaml b/openapi/paths/paths.yaml index fdf136252021..6289ebbc9bb1 100644 --- a/openapi/paths/paths.yaml +++ b/openapi/paths/paths.yaml @@ -1637,6 +1637,12 @@ paths: application/json: schema: $ref: '#/components/schemas/Client' + 403: + description: 'Authorization error' + content: + application/json: + schema: + $ref: '#components/schema/AuthorizationError' 422: description: 'Validation error' content: