mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-05 21:54:35 -04:00
Declare request body for POST /api/v1/invoices
Related to https://github.com/invoiceninja/invoiceninja/issues/5473
This commit is contained in:
parent
5641ed96c5
commit
5dfa240255
@ -185,6 +185,10 @@ class InvoiceController extends BaseController
|
|||||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||||
|
* @OA\RequestBody(
|
||||||
|
* required=true,
|
||||||
|
* @OA\JsonContent(ref="#/components/schemas/Invoice")
|
||||||
|
* ),
|
||||||
* @OA\Response(
|
* @OA\Response(
|
||||||
* response=200,
|
* response=200,
|
||||||
* description="Returns the saved invoice object",
|
* description="Returns the saved invoice object",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user