mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-25 11:04:07 +00:00
jwt auth in swagger
This commit is contained in:
parent
d90540226e
commit
9a4bb81664
1 changed files with 9 additions and 1 deletions
|
|
@ -93,7 +93,15 @@ REST_FRAMEWORK = {
|
|||
],
|
||||
}
|
||||
|
||||
|
||||
SWAGGER_SETTINGS = {
|
||||
'SECURITY_DEFINITIONS': {
|
||||
'Bearer': {
|
||||
'type': 'apiKey',
|
||||
'name': 'Authorization',
|
||||
'in': 'header'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
LANGUAGE_CODE = 'en-us'
|
||||
TIME_ZONE = 'UTC'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue