add rewrite for securitySchemes into swagger_doc

This commit is contained in:
Greg Myers
2020-03-24 14:56:05 +00:00
parent e9aebe6221
commit 231a2d135c
3 changed files with 15 additions and 12 deletions

View File

@@ -286,14 +286,16 @@
]
}
},
"securityDefinitions": {
"basic_auth": {
"type": "basic"
},
"api_key": {
"type": "apiKey",
"name": "api_key",
"in": "query"
"components": {
"securitySchemes": {
"basic_auth": {
"type": "basic"
},
"api_key": {
"type": "apiKey",
"name": "api_key",
"in": "query"
}
}
}
}