chore: update openAPI to not show all endpoints as requiring authentication

This commit is contained in:
Daulet Amirkhanov 2025-08-20 18:33:03 +01:00
parent 3e35c49ebd
commit 560dd71228

View file

@ -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