save token in swagger
This commit is contained in:
@@ -191,7 +191,10 @@ SPECTACULAR_SETTINGS = {
|
||||
'DESCRIPTION': os.getenv("SITE_TITLE"),
|
||||
'VERSION': '2.0.0',
|
||||
'SERVE_INCLUDE_SCHEMA': False,
|
||||
'COMPONENT_SPLIT_REQUEST': True
|
||||
'COMPONENT_SPLIT_REQUEST': True,
|
||||
"SWAGGER_UI_SETTINGS": {
|
||||
"persistAuthorization": True
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user