1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 16:31:33 +02:00

Declare request body for POST /api/v1/invoices

Related to https://github.com/invoiceninja/invoiceninja/issues/5473
This commit is contained in:
Elliana May 2021-08-26 14:15:27 +08:00 committed by GitHub
parent 5641ed96c5
commit 5dfa240255
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -185,6 +185,10 @@ class InvoiceController extends BaseController
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
* @OA\Parameter(ref="#/components/parameters/include"),
* @OA\RequestBody(
* required=true,
* @OA\JsonContent(ref="#/components/schemas/Invoice")
* ),
* @OA\Response(
* response=200,
* description="Returns the saved invoice object",