2022-03-28 20:58:40 +00:00
|
|
|
"""
|
|
|
|
Package `routers`: Each module contains the path operations for their prefixes.
|
|
|
|
|
|
|
|
This file: Main API router definition.
|
|
|
|
"""
|
|
|
|
|
2022-03-24 23:44:51 +00:00
|
|
|
from fastapi import APIRouter
|
|
|
|
|
2022-03-28 20:18:19 +00:00
|
|
|
from . import admin, user
|
2022-03-28 01:31:37 +00:00
|
|
|
|
2022-03-28 20:18:19 +00:00
|
|
|
main_router = APIRouter()
|
2022-03-24 23:44:51 +00:00
|
|
|
|
|
|
|
main_router.include_router(admin.router)
|
2022-03-28 20:18:19 +00:00
|
|
|
main_router.include_router(user.router)
|
2022-03-24 23:44:51 +00:00
|
|
|
|
2022-03-28 21:41:56 +00:00
|
|
|
__all__ = [
|
|
|
|
"main_router",
|
|
|
|
]
|