api: serve openapi spec under /api path
This commit is contained in:
parent
1dab2f7f4e
commit
196e759487
1 changed files with 1 additions and 0 deletions
|
|
@ -48,6 +48,7 @@ async def lifespan(app: FastAPI):
|
|||
app = FastAPI(
|
||||
title="Dooris",
|
||||
summary="Server to interact with CCCHH doors via locks over CCUJACK over HomeMatic over WiFi",
|
||||
openapi_url="/api/openapi.json",
|
||||
docs_url="/api/docs",
|
||||
lifespan=lifespan,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue