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

Support custom API response status. #8

dostermeier opened this issue Nov 4, 2013 · 1 comment

Support custom API response status. #8

dostermeier opened this issue Nov 4, 2013 · 1 comment


Copy link

Not all RESTful API methods return a 200 on success. For example, it is common to return a 201 for a successful POST.

It seems like this would be a good candidate for another annotation, although I am weary of suggesting the creation of annotations for everything :)

It would be very useful to support some indication in the UI of what the response status of an API call will be. (aside from the error response statuses).

@fabiomaffioletti fabiomaffioletti added this to the 1.1.0 milestone Jan 11, 2015
@fabiomaffioletti fabiomaffioletti self-assigned this Jan 11, 2015
Copy link

The response status will be a new attribute of the @apimethod annotation and will default to 200.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

2 participants