|
|
@@ -268,7 +268,14 @@ SWAGGER_SETTINGS = {
|
|
|
'utilities.custom_inspectors.NullablePaginatorInspector',
|
|
|
'drf_yasg.inspectors.DjangoRestResponsePagination',
|
|
|
'drf_yasg.inspectors.CoreAPICompatInspector',
|
|
|
- ]
|
|
|
+ ],
|
|
|
+ 'SECURITY_DEFINITIONS': {
|
|
|
+ 'Bearer': {
|
|
|
+ 'type': 'apiKey',
|
|
|
+ 'name': 'Authorization',
|
|
|
+ 'in': 'header',
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
|