docs-util: fix query params not retrieved correctly for some routes (#10708)

This commit is contained in:
Shahed Nasser
2024-12-23 17:43:28 +02:00
committed by GitHub
parent c804ae575b
commit 9a05888538
2 changed files with 33 additions and 13 deletions
@@ -680,14 +680,6 @@
* type: string
* title: category_id
* description: A product category's ID.
* - name: currency_code
* in: query
* description: The currency code to retrieve prices in.
* required: false
* schema:
* type: string
* title: currency_code
* description: The currency code to retrieve prices in.
* - name: variants
* in: query
* description: Filter the products' variants.
@@ -712,6 +704,22 @@
* type: string
* title: value
* description: Filter by a value of the option.
* - name: country_code
* in: query
* description: The product's country code.
* required: false
* schema:
* type: string
* title: country_code
* description: The product's country code.
* - name: cart_id
* in: query
* description: The product's cart id.
* required: false
* schema:
* type: string
* title: cart_id
* description: The product's cart id.
* x-codeSamples:
* - lang: Shell
* label: cURL