docs: generate OAS after cart promotion fixes (#11351)

This commit is contained in:
Shahed Nasser
2025-02-07 10:12:09 +02:00
committed by GitHub
parent 211997b137
commit 3a6818e3c4
14 changed files with 315 additions and 37 deletions
@@ -0,0 +1,45 @@
/**
* @schema StoreCartPromotion
* type: object
* description: The promotion's promotions.
* x-schemaName: StoreCartPromotion
* required:
* - id
* properties:
* id:
* type: string
* title: id
* description: The promotion's ID.
* code:
* type: string
* title: code
* description: The promotion's code.
* is_automatic:
* type: boolean
* title: is_automatic
* description: The promotion's is automatic.
* application_method:
* type: object
* description: The promotion's application method.
* required:
* - value
* - type
* - currency_code
* properties:
* value:
* type: string
* title: value
* description: The application method's value.
* type:
* type: string
* description: The application method's type.
* enum:
* - fixed
* - percentage
* currency_code:
* type: string
* title: currency_code
* description: The application method's currency code.
*
*/