From 560dd71228bbd08b5f55cda3e3087111505eec37 Mon Sep 17 00:00:00 2001 From: Daulet Amirkhanov Date: Wed, 20 Aug 2025 18:33:03 +0100 Subject: [PATCH] chore: update openAPI to not show all endpoints as requiring authentication --- cognee/api/client.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cognee/api/client.py b/cognee/api/client.py index 215e4a17e..c94ddce2a 100644 --- a/cognee/api/client.py +++ b/cognee/api/client.py @@ -110,7 +110,8 @@ def custom_openapi(): }, } - openapi_schema["security"] = [{"BearerAuth": []}, {"CookieAuth": []}] + # Remove global security requirement - let individual endpoints specify their own security + # openapi_schema["security"] = [{"BearerAuth": []}, {"CookieAuth": []}] app.openapi_schema = openapi_schema