diff --git a/src/main.py b/src/main.py index 6807b6d..1b200f6 100644 --- a/src/main.py +++ b/src/main.py @@ -80,7 +80,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) @@ -143,3 +143,10 @@ async def ping() -> dict[str, str]: 'message': 'pong', 'status': 'ok', } + +@app.get('/health') +async def health() -> dict[str, str]: + return { + 'status': 'ok', + } +