From 4d3a93c0249de84ea22ad7fb08081fb0804a6664 Mon Sep 17 00:00:00 2001 From: chruffins <23645059+chruffins@users.noreply.github.com> Date: Fri, 25 Sep 2026 18:19:23 +0000 Subject: [PATCH] Hide internal Search endpoints in API reference --- search-api-overlay.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 search-api-overlay.yaml diff --git a/search-api-overlay.yaml b/search-api-overlay.yaml new file mode 100644 index 00000000..c6875014 --- /dev/null +++ b/search-api-overlay.yaml @@ -0,0 +1,14 @@ +overlay: 1.0.0 +info: + title: Hide internal Search API endpoints from the public reference + version: 1.0.0 +extends: https://api.onkernel.com/spec.json +actions: + - target: $.paths['/search'] + remove: true + - target: $.paths['/search/{id}'] + remove: true + - target: $.paths['/search/{id}/contents'] + remove: true + - target: $.paths['/search/providers'] + remove: true