oas: [1/n] improve oas schemas (#9039)

This commit is contained in:
Shahed Nasser
2024-09-06 18:52:51 +03:00
committed by GitHub
parent cd909f9db3
commit 0482b7751d
21 changed files with 108 additions and 110 deletions
@@ -1,26 +1,26 @@
/**
* @schema AdminBatchProductVariantRequest
* type: object
* description: SUMMARY
* description: The product variants to create, update, or delete.
* x-schemaName: AdminBatchProductVariantRequest
* properties:
* create:
* type: array
* description: The product's create.
* description: The product variants to create.
* items:
* $ref: "#/components/schemas/AdminCreateProductVariant"
* update:
* type: array
* description: The product's update.
* description: The product variants to update.
* items:
* $ref: "#/components/schemas/AdminUpdateProductVariant"
* delete:
* type: array
* description: The product's delete.
* description: The product variants to delete.
* items:
* type: string
* title: delete
* description: The delete's details.
* description: A product variant's ID.
*
*/