16 lines
325 B
Python
16 lines
325 B
Python
from fastapi import APIRouter
|
|
from ..models.response import HealthResponse
|
|
|
|
router = APIRouter()
|
|
|
|
VERSION = "0.1.0"
|
|
|
|
|
|
@router.get("/health", response_model=HealthResponse)
|
|
async def health() -> HealthResponse:
|
|
return HealthResponse(
|
|
status="ok",
|
|
version=VERSION,
|
|
dynamic_session_ready=True,
|
|
)
|