Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

codegen: better enum handling in query params #4385

Merged
merged 1 commit into from
Mar 3, 2025

Conversation

hughsimpson
Copy link
Contributor

Expands upon #4367. Adds tests and fixes type generation

@hughsimpson
Copy link
Contributor Author

hughsimpson commented Feb 28, 2025

Tbh I think we should obviously generate the types for every sbt test to improve coverage, but haven't the energy for that now.

Maybe even flip the default?

@adamw
Copy link
Member

adamw commented Mar 3, 2025

You mean setting openapiGenerateEndpointTypes := true ?

@adamw adamw merged commit e5c36c7 into softwaremill:master Mar 3, 2025
27 checks passed
@adamw
Copy link
Member

adamw commented Mar 3, 2025

I'll merge this in the meantime, thanks :)

@hughsimpson
Copy link
Contributor Author

Yeah, exactly. Probably not for now, I'll enable it for the sbt tests when I have some more time

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