Design and implement API versioning for long-term maintainability
Design an API versioning strategy for: API Type: [REST/GraphQL] Current Version: [v1/NONE] Client Base: [INTERNAL/EXTERNAL/BOTH] Framework: [Express/FastAPI/etc.] Breaking Changes Planned: [LIST UPCOMING BREAKING CHANGES] Requirements: - Deprecation period: [TIME] - Multiple version support: [NUMBER OF VERSIONS] - Client migration assistance: [YES/NO] Please provide: 1. Versioning approach (URL/header/query param) 2. Implementation code for version routing 3. Version negotiation logic 4. Deprecation headers and responses 5. Documentation strategy per version 6. Migration guides for clients
Or press ⌘C to copy
Replace these placeholders with your own content before using the prompt.
[LIST UPCOMING BREAKING CHANGES][TIME][NUMBER OF VERSIONS]