Update generated code for private-preview - #1854
Open
stripe-openapi[bot] wants to merge 2 commits into
Open
Conversation
stripe-openapi
Bot
requested review from
jar-stripe
and removed request for
a team and
jar-stripe
July 23, 2026 23:31
stripe-openapi
Bot
force-pushed
the
latest-codegen-private-preview
branch
from
July 24, 2026 09:59
5e2d33d to
c233d07
Compare
…1853) * Fix intermittent Windows test flake in async httpx integration tests BaseHTTPRequestHandler defaults to protocol_version "HTTP/1.0", which sets close_connection=True after every response. On Windows, the socket close can race with the async httpx client reading the response body, causing ReadError (Windows discards buffered TCP data on RST more aggressively than Linux). Setting protocol_version to "HTTP/1.1" keeps the connection alive, eliminating the race. The 30s timeout is a backstop against the handler blocking on readline if the client never closes the connection. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Committed-By-Agent: claude * Drain request body in mock handler for HTTP/1.1 keep-alive With protocol_version set to HTTP/1.1, the server keeps the connection alive and reads the next request from the same socket. If the POST body isn't consumed, those bytes remain in the buffer and get misinterpreted as the next HTTP request line. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Committed-By-Agent: claude * Snapshot request attributes for HTTP/1.1 keep-alive handler reuse With keep-alive, multiple requests are handled by the same BaseHTTPRequestHandler instance. Storing `self` in the queue meant all entries shared the same mutable object whose .headers/.path/.command reflect only the last request. Capture a snapshot at handle time instead. 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
from
July 27, 2026 22:43
c233d07 to
cf68764
Compare
…3cfe380a5b64026f175aeb8d47
stripe-openapi
Bot
force-pushed
the
latest-codegen-private-preview
branch
from
July 27, 2026 23:05
cf68764 to
991eafb
Compare
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 v2346 and v2 openapi 76a717125a6b6b3cfe380a5b64026f175aeb8d47.
Changelog
v2.money_management.ReceivedDebitMandateandv2.risk.Inquirylist,modify, andretrievemethods on resourcev2.risk.Inquirycancel,list, andretrievemethods on resourcev2.money_management.ReceivedDebitMandaterate_cardsonBilling.CreditGrant.ApplicabilityConfig.Scope,billing.CreditBalanceSummaryRetrieveParamsFilterApplicabilityScope, andbilling.CreditGrantCreateParamsApplicabilityConfigScopeConfirmationToken.PaymentMethodPreview.GiftCard.brand,GiftCard.brand,GiftCardCreateParams.brand,PaymentMethod.GiftCard.brand,terminal.ReaderActivateGiftCardParams.brand,terminal.ReaderCashoutGiftCardParams.brand,terminal.ReaderCheckGiftCardBalanceParams.brand, andterminal.ReaderReloadGiftCardParams.brandfromenum('fiserv_valuelink'|'givex'|'svs')toliteral('svs')tempoon enumCrypto.CustomerConsumerWallet.networktempoon enumsCrypto.OnrampSession.TransactionDetail.destination_network,crypto.OnrampSessionCreateParams.destination_network,crypto.OnrampSessionListParams.destination_network, andcrypto.OnrampTransactionLimitsRetrieveParams.destination_networktempoon enumsCrypto.OnrampSession.TransactionDetail.destination_networksandcrypto.OnrampSessionCreateParams.destination_networkstempoonCrypto.OnrampSession.TransactionDetail.WalletAddresstry_again_lateron enumGiftCardOperation.failure_codehealthcareonIssuing.Authorizationproduct_codeonIssuing.Card,issuing.CardCreateParams, andissuing.CardModifyParamsproduct_graduation_stateonIssuing.Cardcvcandnumberonradar.PaymentEvaluationCreateParamsPaymentDetailPaymentMethodDetailCardradar.PaymentEvaluationCreateParamsPaymentDetailPaymentMethodDetailCard.first6to be optionalradar.PaymentEvaluationCreateParamsPaymentDetailPaymentMethodDetailCard.last4to be optionalcardonRadar.PaymentEvaluation.PaymentDetail.PaymentMethodDetailshop_payfrom enumSharedPayment.GrantedToken.PaymentMethodDetail.typeterminal.ReaderCollectPaymentMethodParamsCollectConfig.gift_card_brandandterminal.ReaderProcessPaymentIntentParamsProcessConfig.gift_card_brandfromenum('fiserv_valuelink'|'givex'|'svs')toliteral('svs')gift_cardonterminal.ReaderPresentPaymentMethodParamsgift_cardon enumterminal.ReaderPresentPaymentMethodParams.typeamount_dueandcustomer_balance_appliedonV2.Billing.Intent.AmountDetailgross_settlementonV2.Core.Account.Configuration.Merchant,v2.core.AccountCreateParamsConfigurationMerchant, andv2.core.AccountModifyParamsConfigurationMerchantadditional_addressesonV2.Core.Account.Identity.BusinessDetail,v2.core.AccountCreateParamsIdentityBusinessDetail,v2.core.AccountModifyParamsIdentityBusinessDetail, andv2.core.AccountTokenCreateParamsIdentityBusinessDetailsourceonV2.Iam.ActivityLog.Detail.UserRoleV2.MoneyManagement.DebitDispute.BankTransfer.networkfromliteral('ach')toenum('ach'|'bacs')beneficiary_unrecognized,mandate_canceled_by_stripe,mandate_canceled,no_advance_notice,originator_requested, andsignature_invalidon enumV2.MoneyManagement.DebitDispute.BankTransfer.reasonmanaged_byonV2.MoneyManagement.FinancialAccountpayout_intentonV2.MoneyManagement.OutboundPaymentpayoutonV2.MoneyManagement.ReceivedCredit.BalanceTransferpayout_v1onV2.MoneyManagement.ReceivedCredit.BalanceTransferpayouton enumV2.MoneyManagement.ReceivedCredit.BalanceTransfer.typesettles_atonV2.MoneyManagement.ReceivedDebitgb_bank_accountonV2.MoneyManagement.ReceivedDebit.BankTransferV2.MoneyManagement.ReceivedDebit.BankTransfer.origin_typefromliteral('us_bank_account')toenum('gb_bank_account'|'us_bank_account')V2.MoneyManagement.ReceivedDebit.BankTransfer.payment_method_typefromliteral('us_bank_account')toenum('gb_bank_account'|'us_bank_account')scheduledon enumV2.MoneyManagement.ReceivedDebit.statusno_mandateon enumV2.MoneyManagement.ReceivedDebit.StatusDetail.Failed.reasonV2.MoneyManagement.ReceivedDebit.BankTransfer.us_bank_accountto be optionaltarget_dateonV2.Payments.OffSessionPaymentandv2.payments.OffSessionPaymentCreateParamspayment_delinquency_exposureonV2.Signals.AccountSignalv2.money_management.FinancialAddressDebitSimulationDebitParams.networkfromliteral('ach')toenum('ach'|'bacs')received_debit_mandateonv2.money_management.ReceivedDebitListParamspayout_intentonv2.money_management.OutboundPaymentCreateParamsidonEventsV2SignalsAccountSignalFraudulentMerchantReadyEventV2MoneyManagementReceivedDebitCreatedEventandV2MoneyManagementReceivedDebitScheduledEventwith related objectv2.money_management.ReceivedDebitV2MoneyManagementReceivedDebitMandateCanceledEvent,V2MoneyManagementReceivedDebitMandateCreatedEvent,V2MoneyManagementReceivedDebitMandateExpiredEvent,V2MoneyManagementReceivedDebitMandatePendingCancellationEvent, andV2MoneyManagementReceivedDebitMandateUpdatedEventwith related objectv2.money_management.ReceivedDebitMandateV2SignalsAccountSignalPaymentDelinquencyExposureReadyEventwith related objectv2.signals.AccountSignal