13 lines
291 B
Python
13 lines
291 B
Python
from typing import Dict
|
|
from fastapi import APIRouter
|
|
|
|
router = APIRouter()
|
|
|
|
|
|
@router.get("/", response_model=Dict[str, str])
|
|
def health_check() -> Dict[str, str]:
|
|
"""
|
|
Health check endpoint.
|
|
Returns a successful response if the API is running.
|
|
"""
|
|
return {"status": "ok"} |