chore(oas): [12/n] improve oas schemas (#9200)

- improve OAS schemas [12/n]
- Support ignoring properties in type if it has the `@ignore` jsdoc tag.
This commit is contained in:
Shahed Nasser authored and GitHub committed 2024-09-19 14:25:16 +00:00
1 parent 89928dfdf3
commit 4923a6e823
20 files changed
+287 -149

No files matched your search

@@ -0,0 +1,20 @@
/**
* @schema AdminShippingOptionPriceRule
* type: object
* description: The details of a shipping option price's rule.
* x-schemaName: AdminShippingOptionPriceRule
* required:
* - id
* - value
* properties:
* id:
* type: string
* title: id
* description: The price rule's ID.
* value:
* type: string
* title: value
* description: The price rule's value.
*
*/