axnsan12 / drf-yasg

Automated generation of real Swagger/OpenAPI 2.0 schemas from Django REST Framework code.
https://drf-yasg.readthedocs.io/en/stable/
Other
3.42k stars 439 forks source link

Login with JWT #882

Open mowbish opened 10 months ago

mowbish commented 10 months ago

Bug Report

Description

Why should i enter "Bearer" in start of value in Authorize part when i want to have login with JWT? ## Is this a regression? No I don't know because I didn't check the previous versions and now I got this annoying thing after spending a lot of time trying to login with swagger. ## Minimal Reproduction ```code Bearer ``` ## Stack trace / Error message ```code 401 - { "detail": "Authentication credentials were not provided."} ```