Skip to content

fix(codegen): handle nullable enums in OpenAPI updates - #353

Merged
matoous merged 1 commit into
mainfrom
md/fix-openapi-sync
Oct 26, 2026
Merged

matoous merged 1 commit into
mainfrom
md/fix-openapi-sync

Conversation

@matoous

@matoous matoous commented Oct 26, 2026 •

Copy link
Copy Markdown
Collaborator

Nullable enum values currently generate an empty constant that collides with the enum type name. Skip null values when emitting enum constants; the existing nullable field wrapper represents null.

Keep the sample timestamp assertion focused on using time.Date so updated OpenAPI example dates do not break generation tests. Normalize the two generator import blocks flagged by formatting.

@matoous matoous self-assigned this Oct 26, 2026
@matoous
matoous marked this pull request as ready for review October 26, 2026 17:06
@matoous
matoous merged commit d744f2b into main Oct 26, 2026
15 checks passed
@matoous
matoous deleted the md/fix-openapi-sync branch October 26, 2026 17:07
@sumup-release-bot sumup-release-bot Bot mentioned this pull request Oct 26, 2026
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.

1 participant