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