Skip to content

Support new x-stripeEnum object shape#1672

Open
mikaelmello wants to merge 2 commits into
masterfrom
mello/open-enum-x-stripe-enum-type
Open

Support new x-stripeEnum object shape#1672
mikaelmello wants to merge 2 commits into
masterfrom
mello/open-enum-x-stripe-enum-type

Conversation

@mikaelmello

@mikaelmello mikaelmello commented Jun 13, 2026

Copy link
Copy Markdown
Member

Summary and motivation

x-stripeEnum migrated from an array to an object with kind and values fields. Update the CLI OAS parser to handle both formats via custom UnmarshalJSON.

Backward compatible with both old array and new object formats.

x-stripeEnum migrated from an array to an object with kind and values
fields. Update the CLI's OAS parser to handle both old and new shapes
via a custom UnmarshalJSON on the new StripeEnum type.

PR 6 of 5 for docs open enum rollout config evaluation.

Committed-By-Agent: claude
@mikaelmello mikaelmello marked this pull request as ready for review June 13, 2026 00:06
@mikaelmello mikaelmello requested a review from a team as a code owner June 13, 2026 00:06
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