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,17 +1,17 @@
/**
* @schema AdminCreateInventoryItem
* type: object
* description: SUMMARY
* description: The inventory item's details.
* x-schemaName: AdminCreateInventoryItem
* properties:
* sku:
* type: string
* title: sku
* description: The inventory item's sku.
* description: The inventory item's SKU.
* hs_code:
* type: string
* title: hs_code
* description: The inventory item's hs code.
* description: The inventory item's HS code.
* weight:
* type: number
* title: weight
@@ -47,18 +47,18 @@
* description:
* type: string
* title: description
* description: The inventory item's description.
* description: The description of the variant associated with the inventory item.
* requires_shipping:
* type: boolean
* title: requires_shipping
* description: The inventory item's requires shipping.
* description: Whether the item requires shipping.
* thumbnail:
* type: string
* title: thumbnail
* description: The inventory item's thumbnail.
* metadata:
* type: object
* description: The inventory item's metadata.
* description: The inventory item's metadata, used to store custom key-value pairs.
*
*/