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