We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There are two issues in java client since version 20.0.0 about problems with native build due not registering model during processAot task:
Main problem is missing swagger annotation ApiModel, which is used to identify model classes in AOT Processor.
I have recently discovered in openapi generator docs, that annotationLibrary property now defaults to none.
annotationLibrary
none
So, solution for that issues should be adding line:
<annotationLibrary>swagger1</annotationLibrary>
to java.xml near line where is useJakartaEe set to true.
useJakartaEe
true
I tried it and it did indeed generate swagger ApiModel annotations.
I assume that it will also solve the mentioned issues in the java client after regenerating models.
The text was updated successfully, but these errors were encountered:
Happy to take a PR for this.
Thanks!
Sorry, something went wrong.
@brendandburns Created PR #271 as requested..
Successfully merging a pull request may close this issue.
There are two issues in java client since version 20.0.0 about problems with native build due not registering model during processAot task:
Main problem is missing swagger annotation ApiModel, which is used to identify model classes in AOT Processor.
I have recently discovered in openapi generator docs, that
annotationLibrary
property now defaults tonone
.So, solution for that issues should be adding line:
<annotationLibrary>swagger1</annotationLibrary>
to java.xml near line where is
useJakartaEe
set totrue
.I tried it and it did indeed generate swagger ApiModel annotations.
I assume that it will also solve the mentioned issues in the java client after regenerating models.
The text was updated successfully, but these errors were encountered: