ovdashboard/api/ovkiosk/routers/__init__.py

18 lines
345 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
from ..config import SETTINGS
2022-08-29 11:27:18 +00:00
from . import text
2022-08-28 23:59:57 +00:00
main_router = APIRouter(prefix=f"/{SETTINGS.api_v1_prefix}")
2022-08-29 11:27:18 +00:00
main_router.include_router(text.router)
2022-08-28 23:59:57 +00:00
__all__ = [
"main_router",
]