oas: [2/n] improve schema oas (#9040)
This commit is contained in:
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
|
||||
*
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user