osnova-api-alert/routers/__init__.py

15 lines
225 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,
tags=["Swagger"],
)