知识卡片
生成并发布可追踪SDK
OpenAPI Generator 的 generate 接收处理后的契约、生成器、模板和包坐标;模板内的发布地址决定 Maven deploy 的目标。归档有版本的 SDK 以及构建元数据,让下游取到同一构建产物,支持复现问题与逐环境晋级。生成命令成功后仍需验证 SDK 可构建和可使用。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- API 制品的构建与配置部署 9.3 Build stage: Generating and storing SDKs · 查看原书依据
The CI phase of a software deployment pipeline generates artifacts, and this can include compiled code, a deployable release candidate package, SDKs, and other artifacts. It’s possible to store these in version control, but this is inefficient because source control systems are designed for managing text files, not binary files.
参考来源
- 位置:《Automating API Delivery APIOps with OpenAPI》《第 09 章 API 制品的构建与配置部署》(9.3 Build stage: Generating and storing SDKs;来源项目 book-source,extracted/Automating API Delivery APIOps with OpenAPI/_epub-src/OEBPS/Text/chapter-9.xhtml#p155)
- 结论依据:原文给出构建制品库的目的和下游重用价值,示例把 SDK 从契约生成后通过 Maven 发布。
- 原始内容:The CI phase of a software deployment pipeline generates artifacts, and this can include compiled code, a deployable release candidate package, SDKs, and other artifacts. It’s possible to store these in version control, but this is inefficient because source control systems are designed for managing text files, not binary files.