2024-10-08 11:26:04 +00:00
|
|
|
from fastapi import APIRouter
|
|
|
|
|
|
|
|
from .swagger import router as swagger_router
|
2024-10-09 08:28:57 +00:00
|
|
|
from .ping import router as ping_router
|
2024-10-10 10:55:50 +00:00
|
|
|
from .from_zbx import router as zbx_router
|
2024-10-08 11:26:04 +00:00
|
|
|
from config import conf
|
|
|
|
|
|
|
|
|
|
|
|
router = APIRouter()
|
|
|
|
|
|
|
|
router.include_router(
|
|
|
|
swagger_router,
|
|
|
|
prefix=conf.prefix.swagger,
|
|
|
|
)
|
2024-10-09 08:28:57 +00:00
|
|
|
router.include_router(
|
|
|
|
ping_router,
|
|
|
|
prefix=conf.prefix.ping,
|
|
|
|
tags=["Ping"],
|
|
|
|
)
|
2024-10-10 10:55:50 +00:00
|
|
|
|
2024-10-08 14:33:15 +00:00
|
|
|
router.include_router(
|
2024-10-10 10:55:50 +00:00
|
|
|
zbx_router,
|
|
|
|
prefix=conf.prefix.zbx,
|
|
|
|
tags=["From Zabbix"],
|
2024-10-08 14:33:15 +00:00
|
|
|
)
|