-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
jaxrs generic return type is abstract class. #3082
Comments
I check the Reader class in the jaxrs module. The parameter types are taken from the AnnotatedMethod object. For the return type, the type from the java method is used. Could you please look at it if it is ok or create another solution for this issue. Thanks |
frantuma
added a commit
that referenced
this issue
Jan 30, 2019
frantuma
added a commit
that referenced
this issue
Jan 30, 2019
frantuma
added a commit
that referenced
this issue
Jan 30, 2019
ref #3082 - updated returnType handling
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I get always the abstract (super) type and not the generic type in the response definition for my jaxrs service.
Java code example
Part of the openapi.json
I would like to have this for the response.
The response type should be ProcessTokenDTO (as input parameter) and not PersistentDTO.
I use the test1.zip project to reproduce this issue. How to reproduce: mvn clean install
Thanks
Andrej
test1.zip
The text was updated successfully, but these errors were encountered: