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 duplicate key causing swagger to fail.
Matthew Kennedy9807fe600320
diff --git a/api/docs/v2/storefront/index.yaml b/api/docs/v2/storefront/index.yamlindex 305ea1c6a5..0273528764 100644--- a/api/docs/v2/storefront/index.yaml+++ b/api/docs/v2/storefront/index.yaml@@ -477,6 +477,22 @@ paths:- $ref: '#/components/parameters/CartIncludeParam'- $ref: '#/components/parameters/SparseFieldsParam'summary: Create a Cart+ delete:+ description: |-+ Deletes Cart.+ Endpoint can be called after PATCH /api/v2/storefront/cart/empty, or individually.+ Shipments are canceled, payments are voided, then Line Items, Shipments & Payments are deleted.+ tags:+ - Cart+ operationId: Deletes Cart+ responses:+ '204':+ description: Current Cart has been removed.+ '404':+ $ref: '#/components/responses/404NotFound'+ security:+ - bearerAuth: [ ]+ summary: Deletes Cartget:description: Returns contents of the currently used Carttags:@@ -634,23 +650,6 @@ paths:- $ref: '#/components/parameters/CartIncludeParam'- $ref: '#/components/parameters/SparseFieldsParam'summary: Empty the Cart- /api/v2/storefront/cart:- delete:- description: |-- Deletes Cart.- Endpoint can be called after PATCH /api/v2/storefront/cart/empty, or individually.- Shipments are canceled, payments are voided, then Line Items, Shipments & Payments are deleted.- tags:- - Cart- operationId: Deletes Cart- responses:- '204':- description: Current Cart has been removed.- '404':- $ref: '#/components/responses/404NotFound'- security:- - bearerAuth: [ ]- summary: Deletes Cart/api/v2/storefront/cart/apply_coupon_code:patch:description: Applies a coupon code to the Cart