Skip to content

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

revert: remove fetch-openapi.mjs enhancement and gitleaksignore additions per review

Devin AIcc5f19b35b8d
diff --git a/.gitleaksignore b/.gitleaksignore
index 0b571c148..8d2947eed 100644
--- a/.gitleaksignore
+++ b/.gitleaksignore
@@ -1,8 +1,2 @@
# Decimal chat widget public config JWT (not a secret - contains allowed domains only)
docs/app/layout.tsx:jwt
-
-# Documentation curl examples with placeholder API keys (not real secrets)
-cadbd463fddb5b31c901d2c222b73354b6d87327:docs/content/docs/common-faq.mdx:curl-auth-header:99
-cadbd463fddb5b31c901d2c222b73354b6d87327:docs/content/docs/troubleshooting/tools.mdx:curl-auth-header:43
-cadbd463fddb5b31c901d2c222b73354b6d87327:docs/content/docs/tools-direct/toolkit-versioning.mdx:curl-auth-header:34
-cadbd463fddb5b31c901d2c222b73354b6d87327:docs/content/docs/tools-direct/toolkit-versioning.mdx:curl-auth-header:38
diff --git a/docs/scripts/fetch-openapi.mjs b/docs/scripts/fetch-openapi.mjs
index 867138b7c..13d427357 100644
--- a/docs/scripts/fetch-openapi.mjs
+++ b/docs/scripts/fetch-openapi.mjs
@@ -117,19 +117,6 @@ async function fetchAndFilterSpec() {
console.log(`Removed ${removedCount} endpoints/operations`);
console.log(`Final spec has ${Object.keys(filteredPaths).length} paths`);
- // Enhance toolkit_versions parameter description for clarity
- for (const methods of Object.values(spec.paths)) {
- for (const operation of Object.values(methods)) {
- if (operation.parameters) {
- for (const param of operation.parameters) {
- if (param.name === 'toolkit_versions') {
- param.description = 'Toolkit version specification. **When not specified, defaults to the base version (`00000000_00`), which may return fewer tools than the latest version.** Use `"latest"` to get all available tools, or use bracket notation for specific versions per toolkit (e.g., `toolkit_versions[gmail]=20250930_00`). For production, pin to a specific version instead of `"latest"` to avoid breaking changes.';
- }
- }
- }
- }
- }
-
// Normalize overly complex anyOf/oneOf schemas (e.g., connection_data with 68 object variants)
// Merges similar object schemas into a single object with all properties
let unionNormalizedCount = 0;