netadm/routers/__init__.py

17 lines
281 B
Python

from fastapi import APIRouter
from .swagger import router as swagger_router
from config import conf
from .web import router as web_router
router = APIRouter()
router.include_router(
swagger_router,
prefix=conf.prefix.swagger,
)
router.include_router(
web_router,
)