Skip to content

feat: Support other types than string in enum schemas #4874

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

Merged
merged 2 commits into from
May 12, 2025

Conversation

T3rm1
Copy link
Contributor

@T3rm1 T3rm1 commented Apr 8, 2025

Refactor the method for generating enum schemas to better handle type-specific schemas, such as IntegerSchema. This change ensures that integer-based enums are correctly represented in the generated schemas.

fixes #4768

@frantuma frantuma force-pushed the non-string-enums branch from ee98cc2 to 424e189 Compare May 12, 2025 13:54
@frantuma frantuma marked this pull request as ready for review May 12, 2025 13:57
@frantuma frantuma merged commit f728c95 into swagger-api:master May 12, 2025
5 checks passed
@frantuma
Copy link
Member

Thanks!

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.

Support integer enum values
2 participants