Skip to content

Commit fe660d2

Browse files
committed
Added OpenAPI security scheme
1 parent a34a9f8 commit fe660d2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

server/balancer_backend/settings.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,10 @@
204204
'DESCRIPTION': 'API for the Balancer medication decision support tool',
205205
'VERSION': '1.0.0',
206206
'SERVE_INCLUDE_SCHEMA': False,
207+
'SECURITY': [{'jwtAuth': []}],
208+
'SWAGGER_UI_SETTINGS': {
209+
'persistAuthorization': True,
210+
},
207211
}
208212

209213
SIMPLE_JWT = {

0 commit comments

Comments
 (0)