知识卡片
API定义是一等制品
API 定义既可直接交给消费者,也可成为参考文档、SDK、测试与模拟的共同输入。把定义和面向任务的 API 指南纳入版本控制、检查与发布流程,可让下游制品对应同一份已审查的契约。参考文档靠渲染定义生成,认证入门或迁移教程仍需指南说明。
SDK 如何引用稳定的规范版本,可看[[生成并发布可追踪SDK]]。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
- · 本章导言
原书出处 · 1 处
- API 制品的源代码阶段治理 本章导言 · 查看原书依据
Automated governance isn’t the only problem. During the software delivery process, several API artifacts are generated from the API definition files. API artifacts are API definition files and the by-products generated from them, provided for API consumers and other internal stakeholders to use. They include API reference documentation, client SDKs, alternative API definition formats, API score reports, and more.
参考来源
- 位置:《Automating API Delivery APIOps with OpenAPI》《第 08 章 API 制品的源代码阶段治理》(本章导言;来源项目 book-source,extracted/Automating API Delivery APIOps with OpenAPI/_epub-src/OEBPS/Text/chapter-8.xhtml#p6)
- 结论依据:原文界定 API 制品及其衍生物,并指出临时手工生成会损害一致性。
- 原始内容:Automated governance isn’t the only problem. During the software delivery process, several API artifacts are generated from the API definition files. API artifacts are API definition files and the by-products generated from them, provided for API consumers and other internal stakeholders to use. They include API reference documentation, client SDKs, alternative API definition formats, API score reports, and more.