netadm/routers/__init__.py

17 lines
281 B
Python
Raw Normal View History

2024-10-20 09:45:39 +00:00
from fastapi import APIRouter
from .swagger import router as swagger_router
from config import conf
2024-10-20 15:53:02 +00:00
from .web import router as web_router
2024-10-20 09:45:39 +00:00
router = APIRouter()
router.include_router(
swagger_router,
prefix=conf.prefix.swagger,
)
2024-10-20 15:53:02 +00:00
router.include_router(
web_router,
)