2f407f6eefc9cb4ad1096e75a93eebe68b585b56
- Create middleware/deprecation.go with DeprecationMiddleware - Adds Warning and Deprecation headers to old endpoints - Apply middleware to all non-/api/v1 routes: /version, /dbtest, /health, /character*, /download*, /sync/*, /music/* - Message: 'Deprecated: This endpoint is deprecated. Use /api/v1/ endpoints instead.' Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Languages
JavaScript
86%
Go
10.1%
Vue
2.8%
Python
0.3%
Just
0.3%
Other
0.3%