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, 12:00 UTC
fix: Add redirect for old Fern API reference URLs
Old Fern URLs like /api-reference/tools/post-tools-execute-by-tool-slug now redirect to /reference/api-reference/tools/post-tools-execute-by-tool-slug, where proxy.ts handles the kebab-to-camelCase conversion. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sushmithamallesh committed
Jan 30, 2026 at 19:25 UTC
c84493d997e47a48e298660c14e517734941d792
1 file changed
+8
docs/next.config.mjs
+8
@@ -181,6 +181,14 @@ const config = {
181
destination: '/reference',
182
permanent: true,
183
},
184
+ // Old Fern API endpoint URLs with kebab-case operationIds
185
+ // e.g. /api-reference/tools/post-tools-execute-by-tool-slug
186
+ // proxy.ts handles kebab-to-camelCase conversion
187
+ {
188
+ source: '/api-reference/:tag/:operationId',
189
+ destination: '/reference/api-reference/:tag/:operationId',
190
+ permanent: true,
191
+ },
192
{
193
source: '/api-reference/:path*',
194
destination: '/reference/:path*',