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: schema:
type: string type: string
example: bob 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: responses:
200: 200:
description: "A list of products" description: "A list of products"
@ -11987,8 +12001,6 @@ paths:
type: string type: string
format: string format: string
example: D2J234DFA example: D2J234DFA
produces:
- application/json
requestBody: requestBody:
required: true required: true
content: content:
@ -12002,6 +12014,7 @@ paths:
documents: documents:
type: array type: array
format: binary format: binary
responses:
200: 200:
description: "Returns the Product object" description: "Returns the Product object"
headers: headers:

View File

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