diff --git a/openapi/api-docs.yaml b/openapi/api-docs.yaml index 37e00cfc09fd..d3d1cf37a28f 100644 --- a/openapi/api-docs.yaml +++ b/openapi/api-docs.yaml @@ -8768,21 +8768,20 @@ paths: type: string format: string example: D2J234DFA - produces: - - application/json requestBody: required: true content: multipart/form-data: schema: type: object - items: + properties: _method: type: string example: POST documents: type: array - format: binary + items: + format: binary responses: 200: description: 'Returns the client object' @@ -9784,7 +9783,8 @@ paths: example: POST documents: type: array - format: binary + items: + format: binary responses: 200: description: "Returns the Product object" @@ -11797,6 +11797,7 @@ paths: type: object properties: action: + required: true type: string description: | The action to be performed, options include: @@ -11828,7 +11829,6 @@ paths: Emails an array of invoices - `send_email` Emails an array of invoices. Requires additional properties to be sent. `email_type` - required: true ids: required: true type: array diff --git a/openapi/paths/clients.yaml b/openapi/paths/clients.yaml index 7bc0bf95b8d8..de23fd9c1d6e 100644 --- a/openapi/paths/clients.yaml +++ b/openapi/paths/clients.yaml @@ -382,21 +382,20 @@ type: string format: string example: D2J234DFA - produces: - - application/json requestBody: required: true content: multipart/form-data: schema: type: object - items: + properties: _method: type: string example: POST documents: type: array - format: binary + items: + format: binary responses: 200: description: 'Returns the client object' diff --git a/openapi/paths/invoices.yaml b/openapi/paths/invoices.yaml index e9f8d75ef96b..44a9aa3320c5 100644 --- a/openapi/paths/invoices.yaml +++ b/openapi/paths/invoices.yaml @@ -371,6 +371,7 @@ type: object properties: action: + required: true type: string description: | The action to be performed, options include: @@ -402,7 +403,6 @@ Emails an array of invoices - `send_email` Emails an array of invoices. Requires additional properties to be sent. `email_type` - required: true ids: required: true type: array diff --git a/openapi/paths/products.yaml b/openapi/paths/products.yaml index cb87d455447f..e8a527feee96 100644 --- a/openapi/paths/products.yaml +++ b/openapi/paths/products.yaml @@ -362,7 +362,8 @@ example: POST documents: type: array - format: binary + items: + format: binary responses: 200: description: "Returns the Product object"