Fixes for product docs

This commit is contained in:
David Bomba 2023-02-18 15:28:38 +11:00
parent 93c3d007f3
commit fb669e31f3
2 changed files with 16 additions and 4 deletions

View File

@ -11677,6 +11677,20 @@ paths:
schema:
type: string
example: bob
- name: product_key
in: query
description: Filter by product key
required: false
schema:
type: string
example: bob
- name: sort
in: query
description: Returns the list sorted by column in ascending or descending order.
required: false
schema:
type: string
example: id|desc product_key|desc
responses:
200:
description: "A list of products"
@ -11987,8 +12001,6 @@ paths:
type: string
format: string
example: D2J234DFA
produces:
- application/json
requestBody:
required: true
content:
@ -12002,6 +12014,7 @@ paths:
documents:
type: array
format: binary
responses:
200:
description: "Returns the Product object"
headers:

View File

@ -343,8 +343,6 @@
type: string
format: string
example: D2J234DFA
produces:
- application/json
requestBody:
required: true
content:
@ -358,6 +356,7 @@
documents:
type: array
format: binary
responses:
200:
description: "Returns the Product object"
headers: