Add authorization errors
This commit is contained in:
parent
d647150ee0
commit
dee516164b
|
|
@ -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:
|
||||||
|
|
|
||||||
|
|
@ -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:
|
||||||
|
|
|
||||||
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue