From dfb254d413c6375b373437d574f785ee9720a24c Mon Sep 17 00:00:00 2001 From: H4CK3R-01 Date: Mon, 20 Mar 2023 23:15:25 +0100 Subject: [PATCH] Reach docs on custom path --- backend/app.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/backend/app.py b/backend/app.py index e674718..4d33147 100644 --- a/backend/app.py +++ b/backend/app.py @@ -7,7 +7,12 @@ from routes.request import router as RequestRouter from routes.admin import router as AdminRouter from config import Settings -app = FastAPI() +app = FastAPI(title="Translator", + description="Cloud Computing II", + version="1.0.0", + docs_url='/api/docs', + redoc_url='/api/redoc', + openapi_url='/api/openapi.json') @app.on_event("startup") async def start_database():