1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

OpenAPI docs

This commit is contained in:
David Bomba 2023-04-29 23:12:29 +10:00
parent 7c66972916
commit c241a1e8fa
9 changed files with 470 additions and 95 deletions

View File

@ -27,9 +27,12 @@
$ref: "#/components/responses/401"
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
post:
@ -62,7 +65,11 @@
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
@ -105,7 +112,11 @@
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
put:
@ -146,7 +157,11 @@
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
delete:
@ -183,7 +198,11 @@
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
"/api/v1/credits/{id}/edit":
@ -225,7 +244,11 @@
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
/api/v1/credits/create:
@ -259,7 +282,11 @@
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
/api/v1/credits/bulk:
@ -300,7 +327,11 @@
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
"/api/v1/credit/{invitation_key}/download":
@ -338,7 +369,11 @@
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
"/api/v1/credits/{id}/upload":
@ -379,6 +414,10 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"

View File

@ -113,7 +113,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
post:
@ -151,7 +155,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
@ -193,7 +201,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
@ -234,7 +246,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
delete:
@ -270,7 +286,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
"/api/v1/invoices/{id}/edit":
@ -311,7 +331,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
@ -345,7 +369,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
@ -428,7 +456,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
@ -490,7 +522,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
"/api/v1/invoice/{invitation_key}/download":
@ -527,7 +563,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
"/api/v1/invoices/{id}/delivery_note":
@ -564,7 +604,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
"/api/v1/invoices/{id}/upload":
@ -622,6 +666,10 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"

View File

@ -64,7 +64,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
post:
@ -103,7 +107,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
@ -145,7 +153,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
put:
@ -185,7 +197,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
delete:
@ -221,7 +237,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
"/api/v1/payments/{id}/edit":
@ -262,7 +282,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
/api/v1/payments/create:
@ -295,7 +319,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
/api/v1/payments/refund:
@ -335,7 +363,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
/api/v1/payments/bulk:
@ -379,7 +411,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
"/api/v1/payments/{id}/{action}":
@ -429,7 +465,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
@ -471,6 +511,10 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"

View File

@ -29,7 +29,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
post:
@ -61,7 +65,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
"/api/v1/projects/{id}":
@ -102,7 +110,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
put:
@ -142,7 +154,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
delete:
@ -178,7 +194,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
"/api/v1/projects/{id}/edit":
@ -219,7 +239,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
/api/v1/projects/create:
@ -252,7 +276,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
/api/v1/projects/bulk:
@ -296,7 +324,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
"/api/v1/projects/{id}/upload":
@ -337,6 +369,10 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"

View File

@ -28,7 +28,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
post:
@ -60,7 +64,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
@ -102,7 +110,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
"/api/v1/purchase_order/{id}":
@ -143,7 +155,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
delete:
@ -179,7 +195,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
"/api/v1/purchase_orders/{id}/edit":
@ -220,7 +240,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
@ -254,7 +278,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
/api/v1/purchase_orders/bulk:
@ -294,7 +322,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
"/api/v1/purchase_orders/{id}/{action}":
@ -344,7 +376,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
"/api/v1/purchase_orders/{id}/upload":
@ -385,7 +421,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
"/api/v1/purchase_order/{invitation_key}/download":
@ -422,6 +462,10 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"

View File

@ -77,7 +77,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
post:
@ -109,7 +113,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
"/api/v1/quotes/{id}":
@ -150,7 +158,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
put:
@ -190,7 +202,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
delete:
@ -226,7 +242,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
"/api/v1/quotes/{id}/edit":
@ -267,7 +287,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
/api/v1/quotes/create:
@ -300,7 +324,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
/api/v1/quotes/bulk:
@ -344,7 +372,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
"/api/v1/quotes/{id}/{action}":
@ -394,7 +426,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
"/api/v1/quote/{invitation_key}/download":
@ -431,7 +467,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
"/api/v1/quotes/{id}/upload":
@ -472,6 +512,10 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"

View File

@ -67,7 +67,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
post:
@ -99,7 +103,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
@ -141,7 +149,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
put:
@ -181,7 +193,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
delete:
@ -217,7 +233,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
"/api/v1/recurring_invoices/{id}/edit":
@ -258,7 +278,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
@ -292,7 +316,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
/api/v1/recurring_invoices/bulk:
@ -360,7 +388,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
"/api/v1/recurring_invoices/{id}/{action}":
@ -410,7 +442,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
"/api/v1/recurring_invoice/{invitation_key}/download":
@ -447,7 +483,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
"/api/v1/recurring_invoices/{id}/upload":
@ -488,6 +528,10 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"

View File

@ -29,7 +29,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
post:
@ -61,7 +65,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
"/api/v1/tasks/{id}":
@ -102,7 +110,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
put:
@ -142,7 +154,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
delete:
@ -178,7 +194,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
"/api/v1/tasks/{id}/edit":
@ -219,7 +239,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
/api/v1/tasks/create:
@ -252,7 +276,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
/api/v1/tasks/bulk:
@ -296,7 +324,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
"/api/v1/tasks/{id}/upload":
@ -337,7 +369,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
/api/v1/tasks/sort:
@ -366,6 +402,10 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"

View File

@ -29,7 +29,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
post:
@ -61,7 +65,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
"/api/v1/vendors/{id}":
@ -102,7 +110,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
put:
@ -142,7 +154,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
delete:
@ -178,7 +194,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
"/api/v1/vendors/{id}/edit":
@ -219,7 +239,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
/api/v1/vendors/create:
@ -252,7 +276,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
/api/v1/vendors/bulk:
@ -296,7 +324,11 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"
"/api/v1/vendors/{id}/upload":
@ -337,6 +369,10 @@
403:
$ref: "#/components/responses/403"
422:
$ref: "#/components/responses/422"
$ref: '#/components/responses/422'
429:
$ref: '#/components/responses/429'
5XX:
description: 'Server error'
default:
$ref: "#/components/responses/default"