From 901f079957b79ac94bd90934de05d12416155a9a Mon Sep 17 00:00:00 2001 From: Denys Fedoryshchenko Date: Fri, 13 Dec 2024 13:18:58 +0200 Subject: [PATCH] workaround(main.py): Disable doc temporarily As we are experiencing serialization issues, better to disable docs for now, until we figure out solution (and have time). Signed-off-by: Denys Fedoryshchenko --- api/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/main.py b/api/main.py index a664dedb..bb2cba87 100644 --- a/api/main.py +++ b/api/main.py @@ -77,7 +77,7 @@ async def lifespan(app: FastAPI): # pylint: disable=redefined-outer-name API_VERSIONS = ['v0'] metrics = Metrics() -app = FastAPI(lifespan=lifespan, debug=True) +app = FastAPI(lifespan=lifespan, debug=True, docs_url=None, redoc_url=None) db = Database(service=(os.getenv('MONGO_SERVICE') or 'mongodb://db:27017')) auth = Authentication(token_url="user/login") pubsub = None # pylint: disable=invalid-name