19 lines
379 B
Python
19 lines
379 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 admin, device, user
|
|
|
|
main_router = APIRouter()
|
|
|
|
main_router.include_router(admin.router)
|
|
main_router.include_router(device.router)
|
|
main_router.include_router(user.router)
|
|
|
|
__all__ = [
|
|
"main_router",
|
|
]
|