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.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
Fix `Image` data structure
Tsuyoshi Hoshinoc1541387ddc0
diff --git a/api/docs/v2/storefront/index.yaml b/api/docs/v2/storefront/index.yamlindex 1de09987bb..b4aaf27e19 100644--- a/api/docs/v2/storefront/index.yaml+++ b/api/docs/v2/storefront/index.yaml@@ -2472,34 +2472,29 @@ components:Image:type: objectproperties:- data:+ id:+ type: string+ example: '1'+ type:+ type: string+ default: image+ attributes:type: object- required:- - id- - type- - attributesproperties:- id:- type: string- example: '1'- type:- type: string- default: image- attributes:- type: object- properties:- position:- type: integer- description: Sort order of images set in the Admin Panel- example: 0- minimum: 0- styles:- type: array- description: An array of pre-scaled image styles- items:- $ref: '#/components/schemas/ImageStyle'+ position:+ type: integer+ description: Sort order of images set in the Admin Panel+ example: 0+ minimum: 0+ styles:+ type: array+ description: An array of pre-scaled image styles+ items:+ $ref: '#/components/schemas/ImageStyle'required:- - data+ - id+ - type+ - attributestitle: Imagex-internal: trueImageStyle: