docs: fix schema of product category (#12145)

This commit is contained in:
Shahed Nasser authored and GitHub committed 2025-04-11 12:48:53 +03:00
1 parent 46952e9fa5
commit 4283fa37b7
5 files changed
+25 -25

No files matched your search

@@ -14,11 +14,6 @@ required:
- updated_at - updated_at
- deleted_at - deleted_at
properties: properties:
products:
type: array
description: The category's products.
items:
$ref: ./StoreProduct.yaml
id: id:
type: string type: string
title: id title: id
@@ -68,3 +63,8 @@ properties:
format: date-time format: date-time
title: deleted_at title: deleted_at
description: The date the category was deleted. description: The date the category was deleted.
products:
type: array
description: The category's products.
items:
$ref: ./StoreProduct.yaml
@@ -69271,11 +69271,6 @@ components:
- updated_at - updated_at
- deleted_at - deleted_at
properties: properties:
products:
type: array
description: The category's products.
items:
$ref: '#/components/schemas/StoreProduct'
id: id:
type: string type: string
title: id title: id
@@ -69325,6 +69320,11 @@ components:
format: date-time format: date-time
title: deleted_at title: deleted_at
description: The date the category was deleted. description: The date the category was deleted.
products:
type: array
description: The category's products.
items:
$ref: '#/components/schemas/StoreProduct'
StoreProductCategoryListResponse: StoreProductCategoryListResponse:
type: object type: object
description: The paginated list of product categories. description: The paginated list of product categories.
@@ -14,11 +14,6 @@ required:
- updated_at - updated_at
- deleted_at - deleted_at
properties: properties:
products:
type: array
description: The category's products.
items:
$ref: ./StoreProduct.yaml
id: id:
type: string type: string
title: id title: id
@@ -68,3 +63,8 @@ properties:
format: date-time format: date-time
title: deleted_at title: deleted_at
description: The date the category was deleted. description: The date the category was deleted.
products:
type: array
description: The category's products.
items:
$ref: ./StoreProduct.yaml
@@ -33233,11 +33233,6 @@ components:
- updated_at - updated_at
- deleted_at - deleted_at
properties: properties:
products:
type: array
description: The category's products.
items:
$ref: '#/components/schemas/StoreProduct'
id: id:
type: string type: string
title: id title: id
@@ -33287,6 +33282,11 @@ components:
format: date-time format: date-time
title: deleted_at title: deleted_at
description: The date the category was deleted. description: The date the category was deleted.
products:
type: array
description: The category's products.
items:
$ref: '#/components/schemas/StoreProduct'
StoreProductCategoryListResponse: StoreProductCategoryListResponse:
type: object type: object
description: The paginated list of product categories. description: The paginated list of product categories.
@@ -16,11 +16,6 @@
* - updated_at * - updated_at
* - deleted_at * - deleted_at
* properties: * properties:
* products:
* type: array
* description: The category's products.
* items:
* $ref: "#/components/schemas/StoreProduct"
* id: * id:
* type: string * type: string
* title: id * title: id
@@ -70,6 +65,11 @@
* format: date-time * format: date-time
* title: deleted_at * title: deleted_at
* description: The date the category was deleted. * description: The date the category was deleted.
* products:
* type: array
* description: The category's products.
* items:
* $ref: "#/components/schemas/StoreProduct"
* *
*/ */