docs: fix schema of product category (#12145)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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"
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user