api docs bug

This commit is contained in:
Hayden 2021-01-18 09:19:00 -09:00
commit df2e4abeb9
2 changed files with 3 additions and 3 deletions

View file

@ -54,8 +54,8 @@ app.include_router(static_routes.router)
# Generate API Documentation # Generate API Documentation
if not PRODUCTION: # if not PRODUCTION:
generate_api_docs(app) # generate_api_docs(app)
if __name__ == "__main__": if __name__ == "__main__":
logger.info("-----SYSTEM STARTUP-----") logger.info("-----SYSTEM STARTUP-----")

View file

@ -1,6 +1,6 @@
import json import json
from app_config import BASE_DIR, DATA_DIR from app_config import DATA_DIR
"""Script to export the ReDoc documentation page into a standalone HTML file.""" """Script to export the ReDoc documentation page into a standalone HTML file."""