Add versioned HTTP gateway routing by business domain
This commit is contained in:
@@ -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")
|
||||
Reference in New Issue
Block a user