From 94911c0a1d324366dfc891fb81d3ec26be110695 Mon Sep 17 00:00:00 2001 From: kshitijrajsharma Date: Tue, 16 Jan 2024 14:32:53 +0545 Subject: [PATCH] Dsiable syntax highlighting in Swagger --- API/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/API/main.py b/API/main.py index 3da1400d..790d7457 100644 --- a/API/main.py +++ b/API/main.py @@ -69,7 +69,7 @@ os.environ["OAUTHLIB_INSECURE_TRANSPORT"] = "1" -app = FastAPI(title="Raw Data API ") +app = FastAPI(title="Raw Data API ", swagger_ui_parameters={"syntaxHighlight": False}) app.include_router(auth_router) app.include_router(raw_data_router) app.include_router(tasks_router)