mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Add authorization errors
This commit is contained in:
parent
ec096f8825
commit
d647150ee0
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user