Skip to content

Conversation

@fengtality
Copy link
Contributor

Summary

  • Add redirect_slashes=False to FastAPI app
  • Remove trailing slashes from root routes in routers (accounts, connectors, controllers, scripts, archived_bots)

Why

Mintlify docs playground strips trailing slashes from API paths, causing 307 redirects that the playground doesn't follow. This change makes routes work both with and without trailing slashes.

Test plan

  • Verify API still works with existing clients
  • Test Mintlify docs playground can make requests without redirect errors

🤖 Generated with Claude Code

fengtality and others added 30 commits December 20, 2025 13:04
…ta_and_wallet_creation

Feat/add custom controller data and wallet creation
Added check for existing .env file to skip setup.
Add setup target to Makefile for script execution
…d_connectors_config_map

feat / Improved Order Polling, Enhanced Connector Configuration, and Rate Oracle API
fengtality and others added 3 commits January 15, 2026 10:37
- Add bots/conf/ to .gitignore to prevent config files from being checked in
- Add gateway_proxy.py router

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Removes trailing slashes from routes in controllers, docker, and scripts routers
to prevent 307 redirects that the Mintlify docs playground cannot follow.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants