Closed checkaayush closed 5 years ago
because securityDefinitions
and security
is not implemented, I use this code
SWAGGER_EXT = {
'securityDefinitions': {
'basicAuth': {
'type': 'basic'
}
},
'security': [
{'basicAuth':[]}
],
}
add_documentation(SWAGGER_EXT)
the master branch now use swagger3.0, and can auto generate auth docs #86
I have added following Flask routes with authentication enabled. Authenticate class is defined appropriately. Basic auth working on all endpoints including /docs but when I access /static/index.html directly, basic auth doesn't work.
What am I missing here?