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 type of `month` and `year`
Tsuyoshi Hoshino4165bcc1093c
diff --git a/api/docs/v2/storefront/index.yaml b/api/docs/v2/storefront/index.yamlindex adb36133ed..58f2aef29a 100644--- a/api/docs/v2/storefront/index.yaml+++ b/api/docs/v2/storefront/index.yaml@@ -771,9 +771,9 @@ paths:gateway_payment_profile_id:type: stringmonth:- type: string+ type: numberyear:- type: string+ type: numbercc_type:type: stringname:@@ -819,8 +819,8 @@ paths:gateway_payment_profile_id: ABC123cc_type: visalast_digits: '1111'- month: '10'- year: '2022'+ month: 10+ year: 2022name: John Doedescription: |-##### Add Customer Details@@ -1008,10 +1008,10 @@ paths:type: stringdescription: Last 4 digits of CC numbermonth:- type: string+ type: numberdescription: Expiration date monthyear:- type: string+ type: numberdescription: Expiration date yearname:type: string@@ -1029,8 +1029,8 @@ paths:gateway_payment_profile_id: card_1JqvNB2eZvKYlo2C5OlqLV7Scc_type: visalast_digits: '1111'- month: '10'- year: '2026'+ month: 10+ year: 2026name: John SnowUse existing Credit Card:value:@@ -2409,12 +2409,12 @@ components:example: '1111'description: Last 4 digits of CC numbermonth:- type: string+ type: numberdescription: Expiration date month- example: '12'+ example: 12year:- type: string- example: '2026'+ type: number+ example: 2026description: Expiration date yearname:type: string@@ -6058,8 +6058,8 @@ components:attributes:cc_type: visalast_digits: '4111'- month: '12'- year: '2026'+ month: 12+ year: 2026name: John Doedefault: truerelationships:@@ -6107,8 +6107,8 @@ components:attributes:cc_type: visalast_digits: '1111'- month: '12'- year: '2026'+ month: 12+ year: 2026name: John Doedefault: truerelationships:@@ -6121,8 +6121,8 @@ components:attributes:cc_type: mastercardlast_digits: '6695'- month: '12'- year: '2030'+ month: 12+ year: 2030name: John Doedefault: falserelationships: