netadm/routers/__init__.py

13 lines
202 B
Python

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