Move openapi spec

This commit is contained in:
Marcel Schwarz 2020-12-20 23:44:24 +01:00
parent 840d170501
commit c30e9377a1

View File

@ -7,7 +7,8 @@ from routers import accidents, bikepoints, dashboard
app = FastAPI( app = FastAPI(
title="London Bikestations Dashboard API", title="London Bikestations Dashboard API",
docs_url="/api/docs", docs_url="/api/docs",
redoc_url="/api/redoc" redoc_url="/api/redoc",
openapi_url="/api/openapi.json"
) )
origins = [ origins = [