mirror of
https://github.com/furyhawk/agent_delta.git
synced 2026-07-21 10:15:36 +00:00
9 lines
306 B
Python
9 lines
306 B
Python
"""API router aggregation."""
|
|
|
|
from app.api.routes.v1 import v1_router
|
|
|
|
# Direct alias — avoids FastAPI 0.135+ validation that rejects routes with
|
|
# empty raw paths (e.g. @router.get("")) when include_router has no prefix.
|
|
# The prefix (settings.API_V1_STR) is applied in main.py.
|
|
api_router = v1_router
|