diff --git a/openapi/api-docs.yaml b/openapi/api-docs.yaml index 28be00fbd705..ce3353187743 100644 --- a/openapi/api-docs.yaml +++ b/openapi/api-docs.yaml @@ -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: diff --git a/openapi/paths/products.yaml b/openapi/paths/products.yaml index fe9e08892b09..a84a0d474b48 100644 --- a/openapi/paths/products.yaml +++ b/openapi/paths/products.yaml @@ -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: