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

replace deprecated org.springframework.util.Base64Utils with Base64 #12080

Open
ZeeD opened this issue Mar 6, 2023 · 4 comments · May be fixed by swagger-api/swagger-codegen-generators#1117

Comments

@ZeeD
Copy link

ZeeD commented Mar 6, 2023

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
@fc-jfechner
Copy link

fc-jfechner commented 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
Copy link

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
Copy link

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants