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

Add returnResponse option to return Response object for Java JAX-RS (2.0 Spec) #812

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

raiderx
Copy link

@raiderx raiderx commented Nov 26, 2020

Fixes #775

Java JAX-RS (2.0 Spec) does not support option returnResponse to specify that generated API interface methods have to return javax.ws.rs.core.Response instead of model class object.

That PR aims to add such option.

@raiderx raiderx marked this pull request as ready for review November 30, 2020 21:23
@raiderx raiderx changed the title Added option to return response for jaxrs-spec Add returnResponse option to return Response object for Java JAX-RS (2.0 Spec) Nov 30, 2020
@raiderx raiderx force-pushed the jaxrs-spec-return-response branch 2 times, most recently from e5835fc to c80694f Compare December 20, 2020 13:56
@raiderx
Copy link
Author

raiderx commented Dec 20, 2020

@HugoMario Could you take a look at this PR please?

@raiderx raiderx force-pushed the jaxrs-spec-return-response branch from c80694f to 9c17258 Compare December 25, 2020 11:31
@raiderx raiderx force-pushed the jaxrs-spec-return-response branch from 9c17258 to 1fb8b53 Compare January 23, 2021 18:52
@raiderx
Copy link
Author

raiderx commented Jan 23, 2021

@HugoMario, Could you take a look at this PR please?

@raiderx raiderx force-pushed the jaxrs-spec-return-response branch from 1fb8b53 to dc14a4f Compare March 11, 2021 07:25
@raiderx
Copy link
Author

raiderx commented Mar 11, 2021

@frantuma Could you take a look at this PR please ?

@raiderx raiderx force-pushed the jaxrs-spec-return-response branch from dc14a4f to 86f6f9c Compare June 30, 2021 20:02
@raiderx raiderx force-pushed the jaxrs-spec-return-response branch from 86f6f9c to d45c9a3 Compare June 30, 2021 20:15
@raiderx
Copy link
Author

raiderx commented Jun 30, 2021

@HugoMario @frantuma , Could you take a look at this PR please? Actually it prevents me from using generated code from yaml spec in my project.

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

Successfully merging this pull request may close these issues.

JavaJAXRSSpecServerCodegen ignores returnResponse options
1 participant