from fastapi import APIRouter from .swagger import router as swagger_router from .tg_send import router as tg_send_router from config import conf router = APIRouter() router.include_router( swagger_router, prefix=conf.prefix.swagger, ) router.include_router( tg_send_router, prefix=conf.prefix.tg_v1, tags=["Telegram"], )