docs: fix schema of product category (#12145)

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

View File

@@ -14,11 +14,6 @@ required:
- updated_at
- deleted_at
properties:
products:
type: array
description: The category's products.
items:
$ref: ./StoreProduct.yaml
id:
type: string
title: id
@@ -68,3 +63,8 @@ properties:
format: date-time
title: deleted_at
description: The date the category was deleted.
products:
type: array
description: The category's products.
items:
$ref: ./StoreProduct.yaml

View File

@@ -69271,11 +69271,6 @@ components:
- updated_at
- deleted_at
properties:
products:
type: array
description: The category's products.
items:
$ref: '#/components/schemas/StoreProduct'
id:
type: string
title: id
@@ -69325,6 +69320,11 @@ components:
format: date-time
title: deleted_at
description: The date the category was deleted.
products:
type: array
description: The category's products.
items:
$ref: '#/components/schemas/StoreProduct'
StoreProductCategoryListResponse:
type: object
description: The paginated list of product categories.

View File

@@ -14,11 +14,6 @@ required:
- updated_at
- deleted_at
properties:
products:
type: array
description: The category's products.
items:
$ref: ./StoreProduct.yaml
id:
type: string
title: id
@@ -68,3 +63,8 @@ properties:
format: date-time
title: deleted_at
description: The date the category was deleted.
products:
type: array
description: The category's products.
items:
$ref: ./StoreProduct.yaml

View File

@@ -33233,11 +33233,6 @@ components:
- updated_at
- deleted_at
properties:
products:
type: array
description: The category's products.
items:
$ref: '#/components/schemas/StoreProduct'
id:
type: string
title: id
@@ -33287,6 +33282,11 @@ components:
format: date-time
title: deleted_at
description: The date the category was deleted.
products:
type: array
description: The category's products.
items:
$ref: '#/components/schemas/StoreProduct'
StoreProductCategoryListResponse:
type: object
description: The paginated list of product categories.

View File

@@ -16,11 +16,6 @@
* - updated_at
* - deleted_at
* properties:
* products:
* type: array
* description: The category's products.
* items:
* $ref: "#/components/schemas/StoreProduct"
* id:
* type: string
* title: id
@@ -70,6 +65,11 @@
* format: date-time
* title: deleted_at
* description: The date the category was deleted.
* products:
* type: array
* description: The category's products.
* items:
* $ref: "#/components/schemas/StoreProduct"
*
*/