Fixed api docs
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2023-03-21 00:18:27 +01:00
parent 5a98038dcf
commit 1df240c845
2 changed files with 3 additions and 9 deletions

View File

@@ -10,9 +10,7 @@ from config import Settings
app = FastAPI(title="Translator",
description="DHBW Cloud Computing II",
version="1.0.0",
docs_url='/api/docs',
redoc_url='/api/redoc',
openapi_url='/api/openapi.json')
root_path='/api')
@app.on_event("startup")
async def start_database():