chore(oas): [11/n] improve oas schemas (#9188)

Improve OAS schemas [11/n]
This commit is contained in:
Shahed Nasser
2024-09-19 14:24:54 +00:00
committed by GitHub
parent 8dd72acee2
commit 89928dfdf3
20 changed files with 98 additions and 804 deletions
@@ -20,15 +20,16 @@
* type: string
* title: currency_code
* description: The region's currency code.
* example: usd
* automatic_taxes:
* type: boolean
* title: automatic_taxes
* description: The region's automatic taxes.
* description: Whether taxes are applied automatically during checkout.
* countries:
* type: array
* description: The region's countries.
* items:
* $ref: "#/components/schemas/BaseRegionCountry"
* $ref: "#/components/schemas/AdminRegionCountry"
* payment_providers:
* type: array
* description: The region's payment providers.
@@ -36,17 +37,17 @@
* $ref: "#/components/schemas/AdminPaymentProvider"
* metadata:
* type: object
* description: The region's metadata.
* description: The region's metadata, can hold custom key-value pairs.
* created_at:
* type: string
* format: date-time
* title: created_at
* description: The region's created at.
* description: The date the region was created.
* updated_at:
* type: string
* format: date-time
* title: updated_at
* description: The region's updated at.
* description: The date the region was updated.
*
*/