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,7 +1,7 @@
/**
* @schema AdminCollection
* type: object
* description: The parent's collection.
* description: The product collection's details.
* x-schemaName: AdminCollection
* required:
* - id
@@ -28,17 +28,17 @@
* type: string
* format: date-time
* title: created_at
* description: The collection's created at.
* description: The collection's creation date.
* updated_at:
* type: string
* format: date-time
* title: updated_at
* description: The collection's updated at.
* description: The collection's update date.
* deleted_at:
* type: string
* format: date-time
* title: deleted_at
* description: The collection's deleted at.
* description: The collection's deletion date.
* products:
* type: array
* description: The collection's products.
@@ -46,7 +46,7 @@
* $ref: "#/components/schemas/AdminProduct"
* metadata:
* type: object
* description: The collection's metadata.
* description: The collection's metadata, used to store custom key-value pairs.
*
*/