oas: [2/n] improve schema oas (#9040)

This commit is contained in:
Shahed Nasser authored and GitHub committed 2024-09-06 18:53:07 +03:00
1 parent 0482b7751d
commit 7a80593b68
20 files changed
+168 -204

No files matched your search

@@ -1,7 +1,7 @@
/**
* @schema AdminCreateProductVariantPrice
* type: object
* description: The price's prices.
* description: The details of a variant's price.
* x-schemaName: AdminCreateProductVariantPrice
* required:
* - currency_code
@@ -18,14 +18,16 @@
* min_quantity:
* type: number
* title: min_quantity
* description: The price's min quantity.
* description: The minimum quantity that must be available in the cart for this price to apply.
* max_quantity:
* type: number
* title: max_quantity
* description: The price's max quantity.
* description: The maximum quantity that must not be surpassed in the cart for this price to apply.
* rules:
* type: object
* description: The price's rules.
* example:
* region_id: reg_123
*
*/