diff --git a/app/api/api_router.py b/app/api/api_router.py new file mode 100644 index 0000000..813de73 --- /dev/null +++ b/app/api/api_router.py @@ -0,0 +1,5 @@ +from fastapi import APIRouter + +api_router = APIRouter() + +# api_router.include_router(connect_driver.router, prefix="/connections", tags=["Driver"]) diff --git a/app/main.py b/app/main.py index 66a4d9f..5c37c8b 100644 --- a/app/main.py +++ b/app/main.py @@ -5,12 +5,13 @@ from app.api import health # 헬스 체크 from app.core.port import get_available_port # 동적 포트 할당 +from app.api.api_router import api_router app = FastAPI() # 헬스 체크 라우터 app.include_router(health.router) - +app.include_router(api_router, prefix="/api") @app.get("/") async def read_root():