jwt auth in swagger

This commit is contained in:
kappa118 2025-02-27 16:33:32 -05:00
parent d90540226e
commit 9a4bb81664

View file

@ -93,7 +93,15 @@ REST_FRAMEWORK = {
],
}
SWAGGER_SETTINGS = {
'SECURITY_DEFINITIONS': {
'Bearer': {
'type': 'apiKey',
'name': 'Authorization',
'in': 'header'
}
}
}
LANGUAGE_CODE = 'en-us'
TIME_ZONE = 'UTC'