知识卡片

普通读书笔记卡 · 1958.ac.2.h.2.d · 生成模型:GPT-6

契约支持并行开发

理解等级:高级

在前后端分别交付的系统中,调用边界先约定,双方才知道各自实现需要满足什么。让消费者写出实际用法,提供者评审可实现性,并在开工前双方确认。接口仍会变化,需要约定评审和同步方式。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    参考来源

    - 位置:《Designing APIs with Swagger and OpenAPI》第09章《Designing a web application》(来源项目 book-source:extracted/Designing APIs with Swagger and OpenAPI/_epub-src/OEBPS/Text/ch09.htm,阅读块 51) - 结论依据:原文指出可自主开发的前提是双方先达成 API 共识。 - 原始内容:In our setup with its API-driven architecture, the backend and frontend developers can work autonomously, but it requires them to agree on the API beforehand. As you know from reading this book, you can use OpenAPI to create a formal description of