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

Modifications to response declarations #955

Closed
webron opened this issue Apr 1, 2015 · 2 comments
Closed

Modifications to response declarations #955

webron opened this issue Apr 1, 2015 · 2 comments
Assignees
Labels
Milestone

Comments

@webron
Copy link
Contributor

webron commented Apr 1, 2015

Following changes are proposed:

  • Either deprecate response-related values from @ApiOperation or add a code() field to it to be able to set the HTTP status code (it's not always 200). Even if deprecated, the values will be read, it's just there to encourage people to move to @ApiResponse for successful responses as well.
  • Add responseContainer() to @ApiResponse.
@webron webron added the P2 label Apr 1, 2015
@webron webron added this to the v1.5 milestone Apr 1, 2015
@fehguy
Copy link
Contributor

fehguy commented Apr 2, 2015

I suggest the latter to maintain 1.3.x compatibility

@fehguy
Copy link
Contributor

fehguy commented May 5, 2015

fixed in #1017

@fehguy fehguy closed this as completed May 5, 2015
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

3 participants