chore(oas): [13/n] improve oas schemas (#9201)

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

* remove tax region name
This commit is contained in:
Shahed Nasser authored and GitHub committed 2024-09-22 14:50:26 +02:00
1 parent c790af7834
commit cebffc7a11
20 files changed
+164 -100

No files matched your search

@@ -1,7 +1,7 @@
/**
* @schema AdminStoreCurrency
* type: object
* description: The supported currency's supported currencies.
* description: The details of a store's currency.
* x-schemaName: AdminStoreCurrency
* required:
* - id
@@ -16,36 +16,37 @@
* id:
* type: string
* title: id
* description: The supported currency's ID.
* description: The currency's ID.
* currency_code:
* type: string
* title: currency_code
* description: The supported currency's currency code.
* description: The currency's code.
* example: usd
* store_id:
* type: string
* title: store_id
* description: The supported currency's store id.
* description: The ID of the store this currency belongs to.
* is_default:
* type: boolean
* title: is_default
* description: The supported currency's is default.
* description: Whether this currency is the default in the store.
* currency:
* $ref: "#/components/schemas/AdminCurrency"
* created_at:
* type: string
* format: date-time
* title: created_at
* description: The supported currency's created at.
* description: The date the currency was created.
* updated_at:
* type: string
* format: date-time
* title: updated_at
* description: The supported currency's updated at.
* description: The date the currency was updated.
* deleted_at:
* type: string
* format: date-time
* title: deleted_at
* description: The supported currency's deleted at.
* description: The date the currency was deleted.
*
*/