Add versioned HTTP gateway routing by business domain

This commit is contained in:
2026-09-15 23:26:02 +08:00
parent f418e92673
commit c30a136102
13 changed files with 263 additions and 28 deletions
+11
View File
@@ -0,0 +1,11 @@
from fastapi import APIRouter
from adcloud_server.schemas import ModuleHealthResponse
router = APIRouter()
@router.get("/health", response_model=ModuleHealthResponse)
def health() -> ModuleHealthResponse:
"""Verify routing to the ads module; not a dependency readiness check."""
return ModuleHealthResponse(module="ads")