docs: fix to OAS generator following Zod update + generate API reference (#13030)
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
/**
|
||||
* @schema AdminUpdateRegion
|
||||
* type: object
|
||||
* description: The propeties to update in the region.
|
||||
* properties:
|
||||
* name:
|
||||
* type: string
|
||||
* title: name
|
||||
* description: The region's name.
|
||||
* currency_code:
|
||||
* type: string
|
||||
* title: currency_code
|
||||
* description: The region's currency code.
|
||||
* countries:
|
||||
* type: array
|
||||
* description: The region's countries.
|
||||
* items:
|
||||
* type: string
|
||||
* title: countries
|
||||
* description: A country code.
|
||||
* automatic_taxes:
|
||||
* type: boolean
|
||||
* title: automatic_taxes
|
||||
* description: Whether taxes are calculated automatically for carts in the region.
|
||||
* payment_providers:
|
||||
* type: array
|
||||
* description: The payment providers enabled in the region.
|
||||
* items:
|
||||
* type: string
|
||||
* title: payment_providers
|
||||
* description: A payment provider's ID.
|
||||
* metadata:
|
||||
* type: object
|
||||
* description: The region's metadata. Can hold custom key-value pairs.
|
||||
* is_tax_inclusive:
|
||||
* type: boolean
|
||||
* title: is_tax_inclusive
|
||||
* description: Whether the prices in the region are tax inclusive.
|
||||
* x-schemaName: AdminUpdateRegion
|
||||
*
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user