ovdashboard/api/ovdashboard_api/routers/__init__.py

24 lines
553 B
Python

"""
Package `routers`: Each module contains the path operations for their prefixes.
This file: Main API router definition.
"""
from fastapi import APIRouter
from . import aggregate, calendar, image, misc, text, ticker
main_router = APIRouter(prefix="/api/v1")
main_router.include_router(misc.router)
main_router.include_router(text.router)
main_router.include_router(ticker.router)
main_router.include_router(image.router)
main_router.include_router(calendar.router)
main_router.include_router(aggregate.router)
__all__ = [
"main_router",
]