From d0ae7b46aec0d6d6740fb28a84c458a8da238faa Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 2 May 2025 16:21:47 -0400 Subject: [PATCH] Disable the HTML API explorer It may be the case that no one uses it. --- confluent_server/confluent/httpapi.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/confluent_server/confluent/httpapi.py b/confluent_server/confluent/httpapi.py index 9ac44d5e..97909710 100644 --- a/confluent_server/confluent/httpapi.py +++ b/confluent_server/confluent/httpapi.py @@ -1091,6 +1091,8 @@ def resourcehandler_backend(env, start_response): yield e.get_error_body() def _assemble_html(responses, resource, querydict, url, extension): + yield 'HTML API Explorer is discontinued, notify developers if you want this back' + return yield '' \ 'Confluent REST Explorer: ' + url + '' \ '