@devries-cameron20 / composio Mirror · read-only / commits / cc5f19b35
Fork 0

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

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 22, 05:45 UTC

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

Co-Authored-By: Soham Ganatra <sohamganatra1@gmail.com>

Devin AI committed Mar 3, 2026 at 08:20 UTC cc5f19b35b8d1ebd5b7a73950fa5f91701c6f7c7
2 files changed -19
.gitleaksignore
-6
@@ -1,8 +1,2 @@
1 # Decimal chat widget public config JWT (not a secret - contains allowed domains only)
2 docs/app/layout.tsx:jwt
3 -
4 -# Documentation curl examples with placeholder API keys (not real secrets)
5 -cadbd463fddb5b31c901d2c222b73354b6d87327:docs/content/docs/common-faq.mdx:curl-auth-header:99
6 -cadbd463fddb5b31c901d2c222b73354b6d87327:docs/content/docs/troubleshooting/tools.mdx:curl-auth-header:43
7 -cadbd463fddb5b31c901d2c222b73354b6d87327:docs/content/docs/tools-direct/toolkit-versioning.mdx:curl-auth-header:34
8 -cadbd463fddb5b31c901d2c222b73354b6d87327:docs/content/docs/tools-direct/toolkit-versioning.mdx:curl-auth-header:38
docs/scripts/fetch-openapi.mjs
-13
@@ -117,19 +117,6 @@ async function fetchAndFilterSpec() {
117 console.log(`Removed ${removedCount} endpoints/operations`);
118 console.log(`Final spec has ${Object.keys(filteredPaths).length} paths`);
119
120 - // Enhance toolkit_versions parameter description for clarity
121 - for (const methods of Object.values(spec.paths)) {
122 - for (const operation of Object.values(methods)) {
123 - if (operation.parameters) {
124 - for (const param of operation.parameters) {
125 - if (param.name === 'toolkit_versions') {
126 - 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.';
127 - }
128 - }
129 - }
130 - }
131 - }
132 -
120 // Normalize overly complex anyOf/oneOf schemas (e.g., connection_data with 68 object variants)
121 // Merges similar object schemas into a single object with all properties
122 let unionNormalizedCount = 0;