blob: 32db759518980aa2870ff712caca5658972eb7db (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
from __future__ import annotations
from fastapi import APIRouter
from srht_contrib.schemas import HealthResponse
router = APIRouter(tags=["health"])
@router.get("/health", response_model=HealthResponse)
def health() -> HealthResponse:
return HealthResponse(status="ok")
|