1👍
this works for me:
SWAGGER_SETTINGS = {
'SECURITY_DEFINITIONS': {
"Auth Token eg [Bearer {JWT}]": {
"type": "apiKey",
"name": "Authorization",
"in": "header"
}
}
}
Source:stackexchange.com