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

Java-XML-Binding is only for javax and jakarta is ignored #1226

Open
DanielWalz7 opened this issue Dec 5, 2023 · 1 comment
Open

Java-XML-Binding is only for javax and jakarta is ignored #1226

DanielWalz7 opened this issue Dec 5, 2023 · 1 comment

Comments

@DanielWalz7
Copy link

Taking a look at https://github.com/swagger-api/swagger-codegen-generators/blob/master/src/main/resources/handlebars/Java/model.mustache Lines 24 to 26, shows up that on setted Config-property "withXml" the imports for xml-binding types will always be generated to the old javax-package "javax.xml.bind.annotation".
This should be updated depending on the setted "jakarta" Config-Property, so that then the import leads to "jakarta.xml.bind.annotation" instead of "javax.xml.bind.annotation"

@alha96
Copy link

alha96 commented Mar 25, 2024

I also found this issue and would really appreciate a fix for it!

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

No branches or pull requests

2 participants