Minor updates for open api spec

This commit is contained in:
David Bomba 2023-03-23 17:37:27 +11:00
parent 7459932536
commit ed6575b5aa
4 changed files with 12 additions and 12 deletions

View File

@ -8768,21 +8768,20 @@ paths:
type: string type: string
format: string format: string
example: D2J234DFA example: D2J234DFA
produces:
- application/json
requestBody: requestBody:
required: true required: true
content: content:
multipart/form-data: multipart/form-data:
schema: schema:
type: object type: object
items: properties:
_method: _method:
type: string type: string
example: POST example: POST
documents: documents:
type: array type: array
format: binary items:
format: binary
responses: responses:
200: 200:
description: 'Returns the client object' description: 'Returns the client object'
@ -9784,7 +9783,8 @@ paths:
example: POST example: POST
documents: documents:
type: array type: array
format: binary items:
format: binary
responses: responses:
200: 200:
description: "Returns the Product object" description: "Returns the Product object"
@ -11797,6 +11797,7 @@ paths:
type: object type: object
properties: properties:
action: action:
required: true
type: string type: string
description: | description: |
The action to be performed, options include: The action to be performed, options include:
@ -11828,7 +11829,6 @@ paths:
Emails an array of invoices Emails an array of invoices
- `send_email` - `send_email`
Emails an array of invoices. Requires additional properties to be sent. `email_type` Emails an array of invoices. Requires additional properties to be sent. `email_type`
required: true
ids: ids:
required: true required: true
type: array type: array

View File

@ -382,21 +382,20 @@
type: string type: string
format: string format: string
example: D2J234DFA example: D2J234DFA
produces:
- application/json
requestBody: requestBody:
required: true required: true
content: content:
multipart/form-data: multipart/form-data:
schema: schema:
type: object type: object
items: properties:
_method: _method:
type: string type: string
example: POST example: POST
documents: documents:
type: array type: array
format: binary items:
format: binary
responses: responses:
200: 200:
description: 'Returns the client object' description: 'Returns the client object'

View File

@ -371,6 +371,7 @@
type: object type: object
properties: properties:
action: action:
required: true
type: string type: string
description: | description: |
The action to be performed, options include: The action to be performed, options include:
@ -402,7 +403,6 @@
Emails an array of invoices Emails an array of invoices
- `send_email` - `send_email`
Emails an array of invoices. Requires additional properties to be sent. `email_type` Emails an array of invoices. Requires additional properties to be sent. `email_type`
required: true
ids: ids:
required: true required: true
type: array type: array

View File

@ -362,7 +362,8 @@
example: POST example: POST
documents: documents:
type: array type: array
format: binary items:
format: binary
responses: responses:
200: 200:
description: "Returns the Product object" description: "Returns the Product object"