Add authorization errors

This commit is contained in:
David Bomba 2023-02-12 17:09:51 +11:00
parent d647150ee0
commit dee516164b
3 changed files with 4 additions and 4 deletions

View File

@ -1666,7 +1666,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: '#components/schema/AuthorizationError' $ref: '#components/schemas/AuthorizationError'
422: 422:
description: 'Validation error' description: 'Validation error'
content: content:
@ -18777,7 +18777,7 @@ components:
AuthorizationError: AuthorizationError:
properties: properties:
message: message:
description: 'The error message' description: 'Invalid Token'
type: string type: string
example: 'Invalid Token' example: 'Invalid Token'
errors: errors:

View File

@ -3836,7 +3836,7 @@ components:
AuthorizationError: AuthorizationError:
properties: properties:
message: message:
description: 'The error message' description: 'Invalid Token'
type: string type: string
example: 'Invalid Token' example: 'Invalid Token'
errors: errors:

View File

@ -1642,7 +1642,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: '#components/schema/AuthorizationError' $ref: '#components/schemas/AuthorizationError'
422: 422:
description: 'Validation error' description: 'Validation error'
content: content: