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 errors and warnings. (#11675)
Matthew Kennedyfb0bb20491be
diff --git a/api/docs/v2/storefront/index.yaml b/api/docs/v2/storefront/index.yamlindex 27d68a7ea0..51d2a88516 100644--- a/api/docs/v2/storefront/index.yaml+++ b/api/docs/v2/storefront/index.yaml@@ -72,7 +72,7 @@ paths:public_metadata:type: objectexample:- user_segment: 'supplier'+ user_segment: supplierdescription: The public metadata for this Userprivate_metadata:type: object@@ -399,10 +399,10 @@ paths:properties:public_metadata:type: object- description: 'The public metadata for the cart.'+ description: The public metadata for the cart.private_metadata:type: object- description: 'The private metadata for the cart.'+ description: The private metadata for the cart.summary: Create a Cartdelete:description: |-@@ -474,10 +474,10 @@ paths:type: integerpublic_metadata:type: object- description: 'The public metadata for the added item.'+ description: The public metadata for the added item.private_metadata:type: object- description: 'The private metadata for the added item.'+ description: The private metadata for the added item.options:type: objectdescription: 'Additional custom options. Activate these by adding: `Spree::PermittedAttributes.line_item_attributes << :foo` in `config/initializers/spree.rb`'@@ -949,7 +949,7 @@ paths:description: ID of the selected Shipping Methodshipment_id:type: string- description: 'ID of the selected Shipment. If not supplied it will try to set selected shipping method for all shipments'+ description: ID of the selected Shipment. If not supplied it will try to set selected shipping method for all shipmentsrequired:- shipping_method_idexamples:@@ -2668,7 +2668,7 @@ components:type: objectexample:recommended_by_us: true- description: 'The public metadata for the Line Item.'+ description: The public metadata for the Line Item.relationships:type: objectproperties:@@ -3184,7 +3184,7 @@ components:x-internal: trueStore:type: object- description: 'Stores are the center of the Spree ecosystem. Each Spree installation can have multiple Stores. Each Store operates on a different domain or subdomain.'+ description: Stores are the center of the Spree ecosystem. Each Spree installation can have multiple Stores. Each Store operates on a different domain or subdomain.title: Storex-internal: trueproperties:@@ -3227,19 +3227,19 @@ components:description: Indicates if the Store is the default onesupported_currencies:type: string- example: EUR,USD,GBP+ example: 'EUR,USD,GBP'description: All currencies supported by storefacebook:type: string- example: https://www.facebook.com/mystorename+ example: 'https://www.facebook.com/mystorename'description: URL of Facebook pagetwitter:type: string- example: https://twitter.com/mystorename+ example: 'https://twitter.com/mystorename'description: URL of Twitter pageinstagram:type: string- example: https://instagram.com/mystorename+ example: 'https://instagram.com/mystorename'description: URL of Instagram pagedefault_locale:type: string@@ -3247,7 +3247,7 @@ components:description: Default locale of the Storesupported_locales:type: string- example: en,es,de+ example: 'en,es,de'description: Supported locales of the Storecustomer_support_email:type: string@@ -3259,7 +3259,7 @@ components:description: Description of the Store which is visible in the Footeraddress:type: string- example: 813 Howard Street, Oswego NY 13126, USA+ example: '813 Howard Street, Oswego NY 13126, USA'description: Address of the Store which is visible in the Footercontact_phone:type: string@@ -3267,7 +3267,7 @@ components:description: Contact phone number of the Store which is visible in the Footerfavicon_path:type: string- example: '/assets/favicon.ico'+ example: /assets/favicon.icorelationships:type: objectproperties:@@ -3660,7 +3660,7 @@ components:public_metadata:type: objectexample:- user_segment: 'supplier'+ user_segment: supplierdescription: The public metadata for this Userrelationships:type: object@@ -5112,7 +5112,7 @@ components:store_credits: 0completed_orders: 0public_metadata:- user_segment: 'supplier'+ user_segment: supplierrelationships:default_billing_address:data:@@ -6232,11 +6232,11 @@ components:year: 2026name: John Doedefault: true- relationships:- payment_method:- data:- id: '1'- type: payment_method+ relationships:+ payment_method:+ data:+ id: '1'+ type: payment_methodincluded:- id: '1'type: payment_method@@ -6281,11 +6281,11 @@ components:year: 2026name: John Doedefault: true- relationships:- payment_method:- data:- id: string- type: string+ relationships:+ payment_method:+ data:+ id: string+ type: string- id: '2'type: credit_cardattributes:@@ -6295,11 +6295,11 @@ components:year: 2030name: John Doedefault: false- relationships:- payment_method:- data:- id: string- type: string+ relationships:+ payment_method:+ data:+ id: string+ type: stringincluded:- id: '1'type: payment_method@@ -8580,28 +8580,28 @@ components:seo_title: ''default_currency: USDdefault: true- supported_currencies: EUR,GBP,USD+ supported_currencies: 'EUR,GBP,USD'facebook: 'https://www.facebook.com/mystorename'twitter: 'https://twitter.com/mystorename'instagram: 'https://instagram.com/mystorename'default_locale: en- customer_support_email: '[email protected]'- description: 'Mystore has been selling luxury clothing for more than 20 years and has 15 stores currently.'+ customer_support_email: [email protected]+ description: Mystore has been selling luxury clothing for more than 20 years and has 15 stores currently.address: '813 Howard Street, Oswego NY 13126, USA'contact_phone: '+123456789'supported_locales: en- favicon_path: '/assets/favicon.ico'+ favicon_path: /assets/favicon.icorelationships:menus:data:- - id: '10'- type: menu- - id: '11'- type: menu+ - id: '10'+ type: menu+ - id: '11'+ type: menucms_pages:data:- - id: '5'- type: cms_page+ - id: '5'+ type: cms_pagedefault_country:data:id: '2'@@ -8619,28 +8619,28 @@ components:seo_title: ''default_currency: USDdefault: true- supported_currencies: EUR,GBP,USD+ supported_currencies: 'EUR,GBP,USD'facebook: 'https://www.facebook.com/mystorename'twitter: 'https://twitter.com/mystorename'instagram: 'https://instagram.com/mystorename'default_locale: en- customer_support_email: '[email protected]'- description: 'Mystore has been selling luxury clothing for more than 20 years and has 15 stores currently.'+ customer_support_email: [email protected]+ description: Mystore has been selling luxury clothing for more than 20 years and has 15 stores currently.address: '813 Howard Street, Oswego NY 13126, USA'contact_phone: '+123456789'supported_locales: en- favicon_path: '/assets/favicon.ico'+ favicon_path: /assets/favicon.icorelationships:menus:data:- - id: '10'- type: menu- - id: '11'- type: menu+ - id: '10'+ type: menu+ - id: '11'+ type: menucms_pages:data:- - id: '5'- type: cms_page+ - id: '5'+ type: cms_pagedefault_country:data:id: '2'@@ -8663,12 +8663,12 @@ components:type: cms_pageattributes:title: Returns Policy- content:+ content: nulllocale: enmeta_description: ''meta_title: ''slug: returns-policy- type: Spree::Cms::Pages::StandardPage+ type: 'Spree::Cms::Pages::StandardPage'relationships:cms_sections:data: []@@ -8681,10 +8681,10 @@ components:relationships:menu_items:data:- - id: '1'- type: menu_item- - id: '2'- type: menu_item+ - id: '1'+ type: menu_item+ - id: '2'+ type: menu_itemTaxon:description: 200 Success - Returns the `taxon` object.content:@@ -16498,6 +16498,7 @@ tags:- name: Menus- name: Order Status- name: Products+ - name: Stores- name: Taxons- name: Wishlists- name: Wishlists / Wished Items