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

This commit is contained in:
Shahed Nasser authored and GitHub committed 2024-09-06 18:52:51 +03:00
1 parent cd909f9db3
commit 0482b7751d
21 files changed
+108 -110

No files matched your search

@@ -1,26 +1,26 @@
/**
* @schema AdminBatchProductRequest
* type: object
* description: SUMMARY
* description: The products to create, update, or delete.
* x-schemaName: AdminBatchProductRequest
* properties:
* create:
* type: array
* description: The product's create.
* description: The products to create.
* items:
* $ref: "#/components/schemas/AdminCreateProduct"
* update:
* type: array
* description: The product's update.
* description: The products to update.
* items:
* $ref: "#/components/schemas/AdminUpdateProduct"
* delete:
* type: array
* description: The product's delete.
* description: The products to delete.
* items:
* type: string
* title: delete
* description: The delete's details.
* description: A product's ID.
*
*/