Skip to content

fix(health): health endpoint returns 200 instead of 201 - #85

Open
emre155 wants to merge 1 commit into
anxkhn:mainfrom
emre155:fix/health-status-code
Open

fix(health): health endpoint returns 200 instead of 201#85
emre155 wants to merge 1 commit into
anxkhn:mainfrom
emre155:fix/health-status-code

Conversation

@emre155

@emre155 emre155 commented Jul 18, 2026

Copy link
Copy Markdown

Summary

Fixes the health check endpoint response status code to return 200 OK instead of 201 Created (closes #2).

Changes

  • Changed @app.get("/health", status_code=201) to @app.get("/health", status_code=200) in app/main.py.

Signed-off-by: emreumar emreumar@users.noreply.github.com

Signed-off-by: emreumar <emreumar@users.noreply.github.com>
@emre155
emre155 requested a review from anxkhn as a code owner July 18, 2026 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Health endpoint returns 201 instead of 200

2 participants