diff --git a/www/apps/api-reference/specs/admin/components/schemas/StoreProductCategory.yaml b/www/apps/api-reference/specs/admin/components/schemas/StoreProductCategory.yaml index cea963e49c..4df135c98f 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/StoreProductCategory.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/StoreProductCategory.yaml @@ -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 diff --git a/www/apps/api-reference/specs/admin/openapi.full.yaml b/www/apps/api-reference/specs/admin/openapi.full.yaml index ed3213aa75..77cdb73bc3 100644 --- a/www/apps/api-reference/specs/admin/openapi.full.yaml +++ b/www/apps/api-reference/specs/admin/openapi.full.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. diff --git a/www/apps/api-reference/specs/store/components/schemas/StoreProductCategory.yaml b/www/apps/api-reference/specs/store/components/schemas/StoreProductCategory.yaml index cea963e49c..4df135c98f 100644 --- a/www/apps/api-reference/specs/store/components/schemas/StoreProductCategory.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/StoreProductCategory.yaml @@ -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 diff --git a/www/apps/api-reference/specs/store/openapi.full.yaml b/www/apps/api-reference/specs/store/openapi.full.yaml index e158901510..635ac73534 100644 --- a/www/apps/api-reference/specs/store/openapi.full.yaml +++ b/www/apps/api-reference/specs/store/openapi.full.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. diff --git a/www/utils/generated/oas-output/schemas/StoreProductCategory.ts b/www/utils/generated/oas-output/schemas/StoreProductCategory.ts index 14fb6347e6..8f45a0e0c7 100644 --- a/www/utils/generated/oas-output/schemas/StoreProductCategory.ts +++ b/www/utils/generated/oas-output/schemas/StoreProductCategory.ts @@ -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" * */