Styria-Digital / django-rest-framework-jwt

JSON Web Token Authentication support for Django REST Framework
https://styria-digital.github.io/django-rest-framework-jwt/
MIT License
191 stars 57 forks source link

Status Code in Swagger are wrong #79

Closed creyD closed 3 years ago

creyD commented 3 years ago

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?

creyD commented 3 years ago

Closed with #80