Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Add missing `nullable: true` in `#/components/schemas/Product`

Tsuyoshi Hoshino88c38cff17af
diff --git a/api/docs/v2/storefront/index.yaml b/api/docs/v2/storefront/index.yaml
index be0f7b267b..adb36133ed 100644
--- a/api/docs/v2/storefront/index.yaml
+++ b/api/docs/v2/storefront/index.yaml
@@ -2944,21 +2944,25 @@ components:
description:
type: string
example: Example description
+ nullable: true
available_on:
type: string
example: '2012-10-17T03:43:57Z'
+ nullable: true
slug:
type: string
example: example-product
price:
type: string
example: '15.99'
+ nullable: true
currency:
type: string
example: USD
display_price:
type: string
example: $15.99
+ nullable: true
purchasable:
type: boolean
description: Indicates if any of Variants are in stock or backorderable