Skip to content

Update generated code for beta - #2003

Open
stripe-openapi[bot] wants to merge 4 commits into
betafrom
latest-codegen-beta
Open

stripe-openapi[bot] wants to merge 4 commits into
betafrom
latest-codegen-beta

Conversation

@stripe-openapi

Copy link
Copy Markdown
Contributor

Codegen for openapi v2602 and v2 openapi b608cd5088d47fe3b03946089cbfdd4d61a12212.

Changelog

  • Release specs are identical.

stripe-openapi Bot and others added 3 commits November 18, 2026 19:26
…13e3441 (#1998)

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
* fix(encode): encode bool and datetime list elements like scalars

_api_encode converts top-level and nested-dict bool and datetime values
(bool -> "true"/"false", datetime -> unix timestamp) but yielded them
raw when they appeared as direct elements of a list. A list param therefore
serialized booleans as "True"/"False" and datetimes as their str() repr
instead of the forms the API expects. Handle bool and datetime in the list
branch the same way as at the top level. Adds regression tests.

* Add changefile for list bool/datetime encoding fix

---------

Co-authored-by: jar-stripe <[email protected]>
@stripe-openapi
stripe-openapi Bot requested a review from a team as a code owner November 24, 2026 20:21
@stripe-openapi
stripe-openapi Bot requested review from jar-stripe and removed request for a team November 24, 2026 20:21
@stripe-openapi
stripe-openapi Bot force-pushed the latest-codegen-beta branch from 1f35b2b to a867e6c Compare November 24, 2026 20:21
@stripe-openapi
stripe-openapi Bot removed the request for review from jar-stripe November 24, 2026 20:22
@stripe-openapi
stripe-openapi Bot enabled auto-merge November 24, 2026 20:22

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants