12 lines
333 B
Python
12 lines
333 B
Python
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")
|