Skip to content

Status Code in Swagger are wrong #79

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

Closed
creyD opened this issue Dec 10, 2020 · 1 comment
Closed

Status Code in Swagger are wrong #79

creyD opened this issue Dec 10, 2020 · 1 comment

Comments

@creyD
Copy link

creyD commented Dec 10, 2020

I have a Django project using this module and it works very vell, thanks for all of that! When writing unit tests I realized that the documentation states, that I should get 201 as a status code from /verify, /refresh and the original post method, which makes sense as 201 is the default return code for post and means "object created". But when executing all of the methods, I got 200 for "OK" back, which is also fine - but not documented.

Could someone verify this problem, I would try to work on a solution if it isn't just me. Also, which one should it be?

ashokdelphia added a commit to ashokdelphia/django-rest-framework-jwt that referenced this issue Dec 14, 2020
@creyD
Copy link
Author

creyD commented Dec 14, 2020

Closed with #80

@creyD creyD closed this as completed Dec 14, 2020
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