-
Notifications
You must be signed in to change notification settings - Fork 6k
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
replace deprecated org.springframework.util.Base64Utils with Base64 #12080
replace deprecated org.springframework.util.Base64Utils with Base64 #12080
Comments
Swagger´s resttemplate module is not compatible with the newest spring boot version, because the depricated issue has been removed by spring. |
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? |
Hi @frantuma Can you look at related pull requests (swagger-api/swagger-codegen-generators#1117). |
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. |
Description
The
resttemplate
module relies on spring Base64Utils.But latest version of the framework have deprecated it, suggesting to use Base64 from the stdlib.
Swagger-codegen version
I'm using the latest version from
brew
.Swagger declaration file content or url
Command line used for generation
Steps to reproduce
Related issues/PRs
Suggest a fix/enhancement
The text was updated successfully, but these errors were encountered: