diff --git a/drf_spectacular/contrib/rest_framework_simplejwt.py b/drf_spectacular/contrib/rest_framework_simplejwt.py index 3decfdec..460d42b9 100644 --- a/drf_spectacular/contrib/rest_framework_simplejwt.py +++ b/drf_spectacular/contrib/rest_framework_simplejwt.py @@ -81,3 +81,7 @@ def get_security_definition(self, auto_schema): class SimpleJWTTokenUserScheme(SimpleJWTScheme): target_class = 'rest_framework_simplejwt.authentication.JWTTokenUserAuthentication' + + +class SimpleJWTStatelessUserScheme(SimpleJWTScheme): + target_class = "rest_framework_simplejwt.authentication.JWTStatelessUserAuthentication"