Skip to content

Add health endpoint #98

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed

Add health endpoint #98

wants to merge 3 commits into from

Conversation

alik-agaev
Copy link
Contributor

@alik-agaev alik-agaev commented Jun 30, 2025

This PR adds a simple health-check endpoint to the server.

  • Imports Request and PlainTextResponse from Starlette
  • Defines a /health GET route that returns "OK" with status 200
  • Excludes the health endpoint from the OpenAPI schema

@alik-agaev alik-agaev requested review from akolotov and Copilot June 30, 2025 11:12
Copilot

This comment was marked as duplicate.

@alik-agaev alik-agaev marked this pull request as draft June 30, 2025 11:13
@alik-agaev alik-agaev marked this pull request as ready for review July 1, 2025 06:37
@akolotov
Copy link
Collaborator

akolotov commented Jul 3, 2025

Linking to #108

@akolotov
Copy link
Collaborator

Support of /health endpoint is added after merge of #148

@akolotov akolotov closed this Jul 11, 2025
@akolotov akolotov deleted the health-check-endpoint branch July 11, 2025 01:04
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.

2 participants