-
Notifications
You must be signed in to change notification settings - Fork 96
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
OpenAPI, invalid @Override annotation in base class, in inheritance case. #1881
Comments
matadini
changed the title
OpenAPI, invalid @Override annotation in base class, in inherance case.
OpenAPI, invalid @Override annotation in base class, in inheritance case.
Nov 19, 2024
altro3
added a commit
to altro3/micronaut-openapi
that referenced
this issue
Nov 19, 2024
altro3
added a commit
to altro3/micronaut-openapi
that referenced
this issue
Nov 20, 2024
sdelamo
pushed a commit
that referenced
this issue
Nov 20, 2024
altro3
added a commit
to altro3/micronaut-openapi
that referenced
this issue
Nov 20, 2024
altro3
added a commit
to altro3/micronaut-openapi
that referenced
this issue
Nov 21, 2024
altro3
added a commit
to altro3/micronaut-openapi
that referenced
this issue
Nov 21, 2024
altro3
added a commit
to altro3/micronaut-openapi
that referenced
this issue
Nov 21, 2024
altro3
added a commit
to altro3/micronaut-openapi
that referenced
this issue
Dec 3, 2024
altro3
added a commit
to altro3/micronaut-openapi
that referenced
this issue
Dec 5, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
Having several hierarchies of component inheritance described in the OpenAPI yml file, I want all classes to be generated correctly
Actual Behaviour
OpenApi generator adds the
@Override
annotation in the base class, which is the foundation for the inheritance hierarchy. The problem occurs when there is more than one inheritance hierarchy in the OpenAPI's yml file. It looks like the issue arises for the first found inheritance hierarchy.Steps To Reproduce
4,
gradle compileJava
result: GeneratedAnimalResponse
will contain@Override
annotation:Environment Information
Example Application
https://github.com/matadini/openapi-micronaut-inheritance-bug
Version
4.7.0
The text was updated successfully, but these errors were encountered: