oas: [2/2] improve store OAS (#9035)

This commit is contained in:
Shahed Nasser
2024-09-06 18:52:38 +03:00
committed by GitHub
parent b5dbf572e3
commit cd909f9db3
17 changed files with 178 additions and 110 deletions
@@ -0,0 +1,38 @@
/**
* @schema StoreCreateCart
* type: object
* description: SUMMARY
* x-schemaName: StoreCreateCart
* properties:
* region_id:
* type: string
* title: region_id
* description: The cart's region id.
* shipping_address:
* $ref: "#/components/schemas/StoreCartAddress"
* billing_address:
* $ref: "#/components/schemas/StoreCartAddress"
* email:
* type: string
* title: email
* description: The cart's email.
* format: email
* currency_code:
* type: string
* title: currency_code
* description: The cart's currency code.
* items:
* type: array
* description: The cart's items.
* items:
* $ref: "#/components/schemas/StoreCartLineItem"
* sales_channel_id:
* type: string
* title: sales_channel_id
* description: The cart's sales channel id.
* metadata:
* type: object
* description: The cart's metadata.
*
*/