chore(oas): [9/n] improve oas schemas (#9166)

This commit is contained in:
Shahed Nasser
2024-09-17 19:27:28 +02:00
committed by GitHub
parent b5ffed6973
commit d2c48228df
20 changed files with 119 additions and 114 deletions
@@ -1,7 +1,7 @@
/**
* @schema AdminPrice
* type: object
* description: The price's prices.
* description: The price's details.
* x-schemaName: AdminPrice
* required:
* - id
@@ -28,6 +28,7 @@
* type: string
* title: currency_code
* description: The price's currency code.
* example: usd
* amount:
* type: number
* title: amount
@@ -38,30 +39,30 @@
* 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 the price to be applied.
* max_quantity:
* type: number
* title: max_quantity
* description: The price's max quantity.
* description: The maximum quantity allowed to be available in the cart for the price to be applied.
* price_set_id:
* type: string
* title: price_set_id
* description: The price's price set id.
* description: The ID of the associated price set.
* created_at:
* type: string
* format: date-time
* title: created_at
* description: The price's created at.
* description: The date the price was created.
* updated_at:
* type: string
* format: date-time
* title: updated_at
* description: The price's updated at.
* description: The date the price was updated.
* deleted_at:
* type: string
* format: date-time
* title: deleted_at
* description: The price's deleted at.
* description: The date the price was deleted.
*
*/