oas: [2/n] improve schema oas (#9040)

This commit is contained in:
Shahed Nasser
2024-09-06 18:53:07 +03:00
committed by GitHub
parent 0482b7751d
commit 7a80593b68
20 changed files with 168 additions and 204 deletions
@@ -1,21 +1,23 @@
/**
* @schema AdminCreatePricePreference
* type: object
* description: SUMMARY
* description: The price preference's details.
* x-schemaName: AdminCreatePricePreference
* properties:
* attribute:
* type: string
* title: attribute
* description: The price preference's attribute.
* description: The name of the attribute the price preference applies on.
* example: currency_code
* value:
* type: string
* title: value
* description: The price preference's value.
* description: The attribute's value.
* example: usd
* is_tax_inclusive:
* type: boolean
* title: is_tax_inclusive
* description: The price preference's is tax inclusive.
* description: Whether the price is tax inclusive if the value of the specified attribute matches the specified value.
*
*/