25 lines
554 B
Python
25 lines
554 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, file, image, misc, text, ticker
|
|
|
|
router = APIRouter(prefix="/api/v1")
|
|
|
|
router.include_router(misc.router)
|
|
|
|
router.include_router(text.router)
|
|
router.include_router(ticker.router)
|
|
router.include_router(image.router)
|
|
router.include_router(file.router)
|
|
|
|
router.include_router(calendar.router)
|
|
router.include_router(aggregate.router)
|
|
|
|
__all__ = [
|
|
"router",
|
|
]
|