From c30e9377a10e222d740dc87cd2eb833164c06dd5 Mon Sep 17 00:00:00 2001 From: Marcel Schwarz Date: Sun, 20 Dec 2020 23:44:24 +0100 Subject: [PATCH] Move openapi spec --- projects/project-3/backend/api.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/project-3/backend/api.py b/projects/project-3/backend/api.py index 0269835..c948ca8 100644 --- a/projects/project-3/backend/api.py +++ b/projects/project-3/backend/api.py @@ -7,7 +7,8 @@ from routers import accidents, bikepoints, dashboard app = FastAPI( title="London Bikestations Dashboard API", docs_url="/api/docs", - redoc_url="/api/redoc" + redoc_url="/api/redoc", + openapi_url="/api/openapi.json" ) origins = [