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

@successResponse & @errorResponse tags trim the last digit of the status code if reason is not supplied #16

Open
ddamin opened this issue Jun 12, 2017 · 0 comments

Comments

@ddamin
Copy link

ddamin commented Jun 12, 2017

@successResponse 200 - displays "20" as code and "0" in the reason
@errorResponse 400 Invalid ID supplied - displays correctly
@errorResponse 404 - displays "40" as code and "4" as the reason

Need to make sure that if reason is empty or not provided, status code truncation does not occur

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

No branches or pull requests

1 participant