mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-03 06:44:37 -04:00
Add authorization errors
This commit is contained in:
parent
ec096f8825
commit
d647150ee0
@ -1661,6 +1661,12 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/Client'
|
$ref: '#/components/schemas/Client'
|
||||||
|
403:
|
||||||
|
description: 'Authorization error'
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: '#components/schema/AuthorizationError'
|
||||||
422:
|
422:
|
||||||
description: 'Validation error'
|
description: 'Validation error'
|
||||||
content:
|
content:
|
||||||
@ -18768,6 +18774,20 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
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:
|
VendorContact:
|
||||||
properties:
|
properties:
|
||||||
id:
|
id:
|
||||||
|
@ -3833,6 +3833,20 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
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:
|
VendorContact:
|
||||||
properties:
|
properties:
|
||||||
id:
|
id:
|
||||||
|
@ -1637,6 +1637,12 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/Client'
|
$ref: '#/components/schemas/Client'
|
||||||
|
403:
|
||||||
|
description: 'Authorization error'
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: '#components/schema/AuthorizationError'
|
||||||
422:
|
422:
|
||||||
description: 'Validation error'
|
description: 'Validation error'
|
||||||
content:
|
content:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user