diff --git a/src/main.py b/src/main.py index 4736bef..f74bb9b 100644 --- a/src/main.py +++ b/src/main.py @@ -100,7 +100,7 @@ app: FastAPI = FastAPI( redoc_url=None, docs_url=None, lifespan=lifespan, - title='Elcsa Users Service' + title='Elcsa. Pay service Service' ) app.add_exception_handler(ApplicationException, application_exception_handler) @@ -163,3 +163,10 @@ async def ping() -> dict[str, str]: 'message': 'pong', 'status': 'ok', } + +@app.get('/health') +async def health() -> dict[str, str]: + return { + 'status': 'ok', + } +