From 4bdf295007ebf5c19c86d724e62acc6399686b00 Mon Sep 17 00:00:00 2001 From: dev1lfreak Date: Tue, 16 Jun 2026 11:40:08 +0300 Subject: [PATCH] feat: add health check endpoint --- src/main.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main.py b/src/main.py index fe39e9c..70f7d24 100644 --- a/src/main.py +++ b/src/main.py @@ -180,5 +180,10 @@ async def custom_redoc_html(_credentials: HTTPBasicCredentials = Depends(verify_ async def ping() -> dict[str, str]: return {'message': 'pong', 'status': 'ok'} +@app.get('/health') +async def health() -> dict[str, str]: + return { + 'status': 'ok', + } app.openapi = custom_openapi