chore(oas): [10/n] improve oas schemas (#9167)

* chore(oas): [10/n] improve oas schemas

* fix validation error

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
Shahed Nasser
2024-09-19 18:51:55 +02:00
committed by GitHub
co-authored by Oli Juhl
parent 230a16ac5c
commit d6ce0688db
17 changed files with 95 additions and 92 deletions
@@ -1,7 +1,7 @@
/**
* @schema AdminProductVariantDeleteResponse
* type: object
* description: SUMMARY
* description: The details of the product variant's deletion.
* x-schemaName: AdminProductVariantDeleteResponse
* required:
* - id
@@ -11,7 +11,7 @@
* id:
* type: string
* title: id
* description: The product's ID.
* description: The product variant's ID.
* object:
* type: string
* title: object
@@ -19,7 +19,8 @@
* deleted:
* type: boolean
* title: deleted
* description: Whether the Product was deleted.
* description: Whether the product variant was deleted.
* default: "variant"
* parent:
* $ref: "#/components/schemas/AdminProduct"
*