API 版本控制:规范
公共 HTTP 版本控制,版本内部仅允许增量更改,明确的破坏性更改规则,移除前的 Sunset 头,以及有文档记录的默认版本策略,绝不默默重新定义字段含义。
Consumer expectations, including authentication and error shapes, are verified against the real provider in CI before merge; HTTP status codes cannot be mocked away on either side of the contract.