2023-09-24 06:32:49 +03:00

16 lines
380 B
Python

from fastapi import APIRouter
from fastapi.responses import ORJSONResponse
from starlette import status
router = APIRouter()
@router.get(
"/healthcheck",
name="system:healthcheck",
status_code=status.HTTP_200_OK,
summary="Healthcheck service",
)
async def healthcheck() -> ORJSONResponse:
return ORJSONResponse(content=None, status_code=status.HTTP_200_OK)