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

Operation response type not picked up from method signature #615

Closed
webron opened this issue Jul 10, 2014 · 0 comments
Closed

Operation response type not picked up from method signature #615

webron opened this issue Jul 10, 2014 · 0 comments
Labels
Milestone

Comments

@webron
Copy link
Contributor

webron commented Jul 10, 2014

If @ApiOperation's response property is not used to mark a return type explicitly, Swagger is supposed to use the method's signature's return type as the operation type (unless the return type is javax.ws.rs.core.Response where void will be used instead).

When testing the swagger-jaxrs dependency with a return type other than Response (String, Pet), the return type remained 'void'.

@fehguy fehguy added the Feature label Aug 28, 2014
@fehguy fehguy modified the milestone: v1.5.0 Sep 19, 2014
@fehguy fehguy modified the milestones: v1.3.12, v1.5.0 Dec 20, 2014
fehguy added a commit that referenced this issue Dec 21, 2014
@fehguy fehguy closed this as completed Dec 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants