ovdashboard/api/ovdashboard_api/routers/__init__.py

25 lines
553 B
Python
Raw Normal View History

2022-08-28 23:59:57 +00:00
"""
Package `routers`: Each module contains the path operations for their prefixes.
This file: Main API router definition.
"""
from fastapi import APIRouter
2022-09-09 02:21:52 +00:00
from . import aggregate, calendar, image, misc, text, ticker
2022-08-28 23:59:57 +00:00
2022-09-17 19:00:52 +00:00
main_router = APIRouter(prefix="/api/v1")
2022-09-09 02:41:15 +00:00
main_router.include_router(misc.router)
2022-08-29 11:27:18 +00:00
main_router.include_router(text.router)
2022-09-08 23:44:03 +00:00
main_router.include_router(ticker.router)
2022-08-31 10:21:24 +00:00
main_router.include_router(image.router)
2022-09-09 02:41:15 +00:00
2022-09-02 19:21:15 +00:00
main_router.include_router(calendar.router)
2022-09-08 23:39:42 +00:00
main_router.include_router(aggregate.router)
2022-08-28 23:59:57 +00:00
__all__ = [
"main_router",
]