apidoc updates
This commit is contained in:
5
api/utils.py
Normal file
5
api/utils.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from flask_apispec import doc
|
||||
|
||||
|
||||
def docwrap(tag, security='jwt', **kwargs):
|
||||
return doc(tags=[tag], security=([{security: []}] if security is not None else None), **kwargs)
|
||||
Reference in New Issue
Block a user