You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
replace deprecated org.springframework.util.Base64Utils with Base64 #12080
The swagger code generator is currently incompatible with spring, at least for APIs that use basic auth. Is there a reason the merge request that fixes the problem sits ignored for almost a year now? Do you need another merge request? Are there any problems with the existing one? Or is the project just dead and nothing happens anymore, apart from some automated dependency updates?
For anyone else running into this problem: We switched to https://github.com/OpenAPITools/openapi-generator/. This worked well, necessary code changes were minimal. And it's compatible with current spring-core.
Activity
replace deprecated org.springframework.util.Base64Utils with Base64
fc-jfechner commentedon Nov 25, 2024
Swagger´s resttemplate module is not compatible with the newest spring boot version, because the depricated issue has been removed by spring.
The-Arne commentedon Jan 28, 2025
The swagger code generator is currently incompatible with spring, at least for APIs that use basic auth. Is there a reason the merge request that fixes the problem sits ignored for almost a year now? Do you need another merge request? Are there any problems with the existing one? Or is the project just dead and nothing happens anymore, apart from some automated dependency updates?
knieszporek commentedon Jan 29, 2025
Hi @frantuma
Can you look at related pull requests (swagger-api/swagger-codegen-generators#1117).
This issue blocks the upgrade to spring-boot 3.4.x
The-Arne commentedon Jan 31, 2025
For anyone else running into this problem: We switched to https://github.com/OpenAPITools/openapi-generator/. This worked well, necessary code changes were minimal. And it's compatible with current spring-core.
joernfechner commentedon Mar 11, 2025
Any updates or is the only way to fix this problem to switch on OpenAPI?
chrlembeck commentedon Apr 16, 2025
Trapped into same problem today. Can you please fix this incompatibility?
garethmcnicol-lendingcrowd commentedon May 30, 2025
3.5.0 of spring boot has this issue too. Can we get the PR merged?
ykartsev commentedon Jun 27, 2025
Voting for this issue as well. It prevents from updating to Spring Boot 3.4.x and above.
dmitry-weirdo commentedon Jul 16, 2025
Any updates on this? I can't update to the newer Spring Boot since
org.springframework.util.Base64Utilswas removed from it.chrlembeck commentedon Jul 16, 2025
As a workaround you can write your own
Base64Utilsclass an put it into the packageorg.springframework.utilin your own project.slyfer commentedon Sep 2, 2025
Same issue for me