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

Fix for #4362 - Resolving Schema for system enums fails if enumsAsRef is enabled #4364

Merged
merged 1 commit into from
Feb 19, 2023

Conversation

mdjimy
Copy link

@mdjimy mdjimy commented Feb 17, 2023

This PR does the following:

  • Fixes NullPointerException thrown when ModelResolver.enumsAsRef is set to true and schema is being resolved for enum located java. or javax. package (e.g. java.time.DayOfWeek or java.time.Month)

Fixes #4362

@frantuma frantuma merged commit b842b6d into swagger-api:master Feb 19, 2023
@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.

Resolving Schema for system enums fails if enumsAsRef is enabled
2 participants