apidoc updates
This commit is contained in:
@@ -53,6 +53,9 @@ def register_apispecs(app: Flask):
|
||||
that one doesn't handle the static routes or blueprints in blueprints well
|
||||
"""
|
||||
|
||||
apispec.spec.components.security_scheme('api_key', {"type": "apiKey", "in": "query", "name": "apikey"})
|
||||
apispec.spec.components.security_scheme('jwt', {"type": "http", "scheme": "bearer", "bearerFormat": "JWT"})
|
||||
|
||||
for name, rule in app.view_functions.items():
|
||||
if name == 'static':
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user