Skip to content

Commit

Permalink
Serving AsyncAPI documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ivnglkv committed Aug 29, 2024
1 parent 1bff26a commit 9ac051f
Show file tree
Hide file tree
Showing 5 changed files with 1,364 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
from fastapi import FastAPI, HTTPException, Request, UploadFile
from fastapi import status as status
from fastapi.responses import FileResponse, JSONResponse, StreamingResponse, HTMLResponse
from fastapi.staticfiles import StaticFiles
from fastapi.templating import Jinja2Templates
from pydantic import HttpUrl

Expand Down Expand Up @@ -48,6 +49,7 @@
api = FastAPI()
api.include_router(robula_api.router)
api.include_router(websocket_api.router)
api.mount("/wsdocs", StaticFiles(directory="wsdocs"))
templates = Jinja2Templates(directory="templates")


Expand Down
Loading

0 comments on commit 9ac051f

Please sign in to comment.