You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
RuoYi-Vue/openspec/changes/add-api-versioning/proposal.md

393 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

P1 优化API 版本管理

目标

为 RuoYi-Vue 后端实现 API 版本控制,支持向后兼容和渐进式升级。

范围

  • URL 路径版本控制(/api/v1/、/api/v2/
  • 版本路由映射
  • 版本弃用机制
  • 版本文档

技术栈

  • Spring MVC
  • 自定义注解
  • 请求映射

验收标准

  • 支持 v1、v2 版本
  • 版本路由正确映射
  • 向后兼容