-
-
Notifications
You must be signed in to change notification settings - Fork 527
SB 3.5.x compatibility #3005
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
Comments
According to this comment, Spring Boot will not implement a workaround for this. |
Seems upstream is unlikely to fix, so either should bump min required spring boot version to 3.5.0 or use reflection to support older versions. I'll make an MR for the later shortly in case you want to go that route. Guessing this is a quick fix. |
mschout
added a commit
to mschout/springdoc-openapi
that referenced
this issue
May 23, 2025
Spring Boot renamed the property methods to determine if HAL is enabled or not. Use reflection to determine which method to call so we can support both versions Fixes springdoc#3005
mschout
added a commit
to mschout/springdoc-openapi
that referenced
this issue
May 23, 2025
Spring Boot renamed the property methods to determine if HAL is enabled or not. Use reflection to determine which method to call so we can support both versions Fixes springdoc#3005
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
SB 3.5.0 comes with a breaking change, a method was renamed, which causes method not found at start-up:
getUseHalAsDefaultJsonMediaType
is now calledisUseHalAsDefaultJsonMediaType
. I have reported the issue to Spring team as well, see spring-projects/spring-boot#45648, I'm not sure if they will revert the change or if you need to bump minor version to have SB 3.5.x compatibility. I'm happy to contribute once it's clear which project needs to change.The text was updated successfully, but these errors were encountered: