← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 3220.c · 生成模型:GPT-6

并行版本的维护成本

理解等级:高级

多个主版本可以使旧客户端延迟迁移,却要让服务与文档同时维护,生产监控和测试也会呈现不同版本。先为兼容期限、升级路线和必要运营投入定范围,避免每次小变更都复制接口面。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    参考来源

    - 位置:《Designing APIs with Swagger and OpenAPI》第20章《Versioning an API and handling breaking changes》(来源项目 book-source:extracted/Designing APIs with Swagger and OpenAPI/_epub-src/OEBPS/Text/ch20.htm,阅读块 70) - 结论依据:原文列出多个 API 的运行、文档和迁移投入。 - 原始内容:The benefit of this approach is that the existing API remains exactly as is, with no changes to it. The negative is the cost involved. The development team has to effectively manage two separate APIs, the documentation has to include both versions,