|
@@ -269,6 +269,13 @@ SWAGGER_SETTINGS = {
|
|
|
'drf_yasg.inspectors.DjangoRestResponsePagination',
|
|
'drf_yasg.inspectors.DjangoRestResponsePagination',
|
|
|
'drf_yasg.inspectors.CoreAPICompatInspector',
|
|
'drf_yasg.inspectors.CoreAPICompatInspector',
|
|
|
],
|
|
],
|
|
|
|
|
+ 'SECURITY_DEFINITIONS': {
|
|
|
|
|
+ 'Bearer': {
|
|
|
|
|
+ 'type': 'apiKey',
|
|
|
|
|
+ 'name': 'Authorization',
|
|
|
|
|
+ 'in': 'header',
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
'VALIDATOR_URL': None,
|
|
'VALIDATOR_URL': None,
|
|
|
}
|
|
}
|
|
|
|
|
|