aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2024-09-05 13:55:51 +0100
committerGravatar Chris Lovering <[email protected]>2024-09-05 13:55:51 +0100
commit069cca9fcb8c83b0a1123936e4b8b73b98afc0d2 (patch)
treece9f355134677675401b15efa0b60f3a17e9b246
parentAdd a test endpoint to show off the API docs problem with returning 204s (diff)
Remove debug endpoint
-rw-r--r--thallium-backend/src/app.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/thallium-backend/src/app.py b/thallium-backend/src/app.py
index 130a489..69310a7 100644
--- a/thallium-backend/src/app.py
+++ b/thallium-backend/src/app.py
@@ -33,11 +33,6 @@ fastapi_app.add_middleware(
)
-@fastapi_app.post("/test-204", status_code=204, tags=["AA-Test"])
-def test() -> None:
- """Show off the issue with 204s in the API docs."""
-
-
@fastapi_app.get("/heartbeat", include_in_schema=False)
def health_check() -> JSONResponse:
"""Return basic response, for use as a health check."""