Update generated code for private-preview - #1925
Merged
stripe-openapi[bot] merged 4 commits intoAug 13, 2026
Merged
Conversation
stripe-openapi
Bot
requested review from
kidus-stripe
and removed request for
a team and
kidus-stripe
August 6, 2026 03:44
stripe-openapi
Bot
force-pushed
the
latest-codegen-private-preview
branch
7 times, most recently
from
August 10, 2026 19:05
6bf0bae to
861f56d
Compare
* Handle break in auto-paging blocks Committed-By-Agent: goose * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * fixed linter errors and restored missing end keywords --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
stripe-openapi
Bot
force-pushed
the
latest-codegen-private-preview
branch
2 times, most recently
from
August 10, 2026 21:29
9db80e4 to
ee50e9b
Compare
stripe-openapi
Bot
force-pushed
the
latest-codegen-private-preview
branch
5 times, most recently
from
August 11, 2026 19:04
55300ee to
db5c479
Compare
* Extract V2TypeCoercion module for bidirectional field encoding
Consolidates request-side (encode: native → wire) and response-side
(decode: wire → native) type coercion into a shared module that handles
all V2 encoding kinds: int64_string, decimal_string, object, array,
nullable, and discriminated_union.
Previously, request_params.rb had its own coercion implementation and
stripe_object.rb only handled decimal_string with a flat equality check.
This left int64_string fields uncoerced on the response side (returning
String instead of Integer) and didn't support nested schemas like
{kind: :nullable, inner: :decimal_string}.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Committed-By-Agent: claude
* Scope module to existing encoding kinds only
Remove nullable and discriminated_union cases — those belong in the
DU coercion branch, not this base extraction. The module should only
contain what already exists on master: int64_string, decimal_string,
object, array.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Committed-By-Agent: claude
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
stripe-openapi
Bot
force-pushed
the
latest-codegen-private-preview
branch
4 times, most recently
from
August 12, 2026 22:49
a8a21d5 to
0b191be
Compare
…f28bf9bf64ed7c83a05749b1e8
stripe-openapi
Bot
force-pushed
the
latest-codegen-private-preview
branch
from
August 12, 2026 23:50
0b191be to
0629bf7
Compare
xavdid
approved these changes
Aug 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Codegen for openapi v2396 and v2 openapi 1e95a9c21695d1f28bf9bf64ed7c83a05749b1e8.
Changelog
V2::Tax::OperationsResolveAddressResultresolve_addressmethod on resourceV2::Tax::OperationsResolveAddressResultconfirmandfx_quotemethods on resourceV2::MoneyManagement::PayoutIntentcustomer_updateonBillingPortal::Session::Flowfunding_source_grouponCharge::PaymentMethodDetail::Linkpricing_grouponCharge::PaymentMethodDetail::LinkceloonCrypto::OnrampSession::TransactionDetail::WalletAddresscustomer_portalonCustomerSession::Componentapplied_to_invoiceandtypeonCustomerCustomerBalanceTransactionCreateParamsclassification_stateandenrichment_stateonFinancialConnections::AccountcountryonFinancialConnections::Session::FilterclassificationsandenrichmentsonFinancialConnections::Transactioncustomer_balanceonInvoiceandQuotePreviewInvoicebillieonInvoice::PaymentSetting::PaymentMethodOption,QuotePreviewInvoice::PaymentSetting::PaymentMethodOption, andSubscription::PaymentSetting::PaymentMethodOptionhold_amount_detailsandhold_amountonIssuing::Authorization::PendingRequestandIssuing::Authorization::RequestHistorynetwork_decline_codeonPaymentAttemptRecordReportFailedParams::PaymentMethodDetail::CardandPaymentRecordReportPaymentAttemptFailedParams::PaymentMethodDetail::Cardsetup_future_usageonPaymentIntent::PaymentMethodOption::SequrastatusonQuotePreviewSubscriptionSchedule::PauseSchedule::Pause,QuotePreviewSubscriptionSchedule::PauseSchedule::Resume,SubscriptionSchedule::PauseSchedule::Pause, andSubscriptionSchedule::PauseSchedule::ResumeSubscriptionScheduleCreateParams::PauseSchedule.pauseto be optionalSubscriptionScheduleUpdateParams::PauseSchedule.resumefrompause_schedule_update_resume_paramstoemptyable(pause_schedule_update_resume_params)acquireronEventsV2CoreHealthAuthorizationRateDropFiringEvent,EventsV2CoreHealthAuthorizationRateDropResolvedEvent,V2::Core::Health::Alert::AuthorizationRateDrop::Dimension, andV2::Core::Health::AlertHistoryEntry::AuthorizationRateDrop::DimensionEventsV2CoreHealthAuthorizationRateDropFiringEvent.type,EventsV2CoreHealthAuthorizationRateDropResolvedEvent.type,V2::Core::Health::Alert::AuthorizationRateDrop::Dimension.type, andV2::Core::Health::AlertHistoryEntry::AuthorizationRateDrop::Dimension.typefromliteral('issuer')toenum('acquirer'|'issuer')confirmation_methodonV2::MoneyManagement::PayoutIntentCreateParamsandV2::MoneyManagement::PayoutIntentestimated_feesandfx_quoteonV2::MoneyManagement::PayoutIntentdebitedonV2::MoneyManagement::PayoutIntent::FromconfirmonV2::MoneyManagement::PayoutIntent::NextActionV2::MoneyManagement::PayoutIntent::NextAction.typefromliteral('handle_failure')toenum('confirm'|'handle_failure')creditedonV2::MoneyManagement::PayoutIntent::ToV1BalanceSettingsUpdatedEventwith related objectBalanceSettingsV1BillingCreditBalanceTransactionCreatedEventwith related objectBilling::CreditBalanceTransactionV1BillingCreditGrantCreatedEventandV1BillingCreditGrantUpdatedEventwith related objectBilling::CreditGrantV1BillingMeterCreatedEvent,V1BillingMeterDeactivatedEvent,V1BillingMeterReactivatedEvent, andV1BillingMeterUpdatedEventwith related objectBilling::MeterV1FinancialConnectionsAccountAccountNumbersUpdatedEvent,V1FinancialConnectionsAccountExpectedDeactivationDateUpdatedEvent,V1FinancialConnectionsAccountSupportedPaymentMethodTypesUpdatedEvent,V1FinancialConnectionsAccountUpcomingAccountNumberExpiryEvent, andV1FinancialConnectionsAccountUpcomingDeactivationEventwith related objectFinancialConnections::AccountV1InvoicePaymentAttemptRequiredEventwith related objectInvoiceFxQuoteNeedsRefreshError