13 lines
294 B
Python
13 lines
294 B
Python
"""Health check endpoint"""
|
|
from fastapi import APIRouter
|
|
|
|
from app.models import HealthResponse
|
|
|
|
router = APIRouter()
|
|
|
|
|
|
@router.get("/health", response_model=HealthResponse)
|
|
async def health_check():
|
|
"""Health check endpoint"""
|
|
return HealthResponse(status="healthy", version="0.1.0")
|