rohanshaw commited on
Commit
83fed23
1 Parent(s): 269bb56

Update api.py

Browse files
Files changed (1) hide show
  1. api.py +2 -1
api.py CHANGED
@@ -9,7 +9,8 @@ import base64
9
  from motor.motor_asyncio import AsyncIOMotorClient
10
  from pymongo.server_api import ServerApi
11
 
12
- app = FastAPI(docs_url=None, openapi_url=None, redoc_url=None)
 
13
 
14
  # MongoDB connection settings
15
  MONGODB_URL = os.environ.get("mongoUrl")
 
9
  from motor.motor_asyncio import AsyncIOMotorClient
10
  from pymongo.server_api import ServerApi
11
 
12
+ # app = FastAPI(docs_url=None, openapi_url=None, redoc_url=None)
13
+ app = FastAPI(docs_url=None, openapi_url='/openapi.json', redoc_url=None)
14
 
15
  # MongoDB connection settings
16
  MONGODB_URL = os.environ.get("mongoUrl")