chore(oas): [14/n] improve OAS schemas (#9202)

* chore(oas): [14/n] improve OAS schemas

* fix description of required_quantity
This commit is contained in:
Shahed Nasser
2024-09-19 18:52:46 +02:00
committed by GitHub
parent d6ce0688db
commit 426c39c04b
20 changed files with 133 additions and 281 deletions
@@ -1,7 +1,7 @@
/**
* @schema AdminUpdateVariantInventoryItem
* type: object
* description: SUMMARY
* description: The properties to update of the variant's inventory item association.
* x-schemaName: AdminUpdateVariantInventoryItem
* required:
* - required_quantity
@@ -9,7 +9,7 @@
* required_quantity:
* type: number
* title: required_quantity
* description: The product's required quantity.
* description: The number of units a single quantity is equivalent to. For example, if a customer orders one quantity of the variant, Medusa checks the availability of the quantity multiplied by the value set for `required_quantity`. When the customer orders the quantity, Medusa reserves the ordered quantity multiplied by the value set for `required_quantity`.
*
*/