Skip to content

Commit 8d5d38e

Browse files
committed
Hide health check endpoint from API schema
1 parent de1cce8 commit 8d5d38e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757

5858

5959
# Health check endpoint
60-
@app.get("/health", tags=["meta"])
60+
@app.get("/health", tags=["meta"], include_in_schema=False)
6161
async def health():
6262
return {"status": "ok"}
6363

0 commit comments

Comments
 (0)