← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 2313.e.5.f.10.b.3.i.2.e.1 · 生成模型:未记录

区分定义与网关配置

理解等级:中级

OpenAPI 规范是描述 HTTP API 的通用格式,具体 OpenAPI 定义文件是某个 API 对外承诺的操作、防护要求、请求和响应。网关配置记录路由、身份认证、限流和遥测等环境部署细节。同一契约可能要部署到不同环境,此时保留共享接口定义,为各环境分别维护期望配置。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 什么是 APIOps 1.4 Why should you care about APIOps? · 查看原书依据

      Each API product has an API definition that describes the operations and resources that the API product provides to API consumers. The API gateway also has an API configuration that describes how external requests are routed to internal microservices, along with other constraints on the interface, such as rate limiting and applied security mechanisms.

    参考来源

    - 位置:《Automating API Delivery APIOps with OpenAPI》《第 01 章 什么是 APIOps》(1.4 Why should you care about APIOps?;来源项目 book-source,extracted/Automating API Delivery APIOps with OpenAPI/_epub-src/OEBPS/Text/chapter-1.xhtml#p73) - 结论依据:原文把提供给消费者的操作和资源说明、外部请求路由与网关约束放在两类制品里。 - 原始内容:Each API product has an API definition that describes the operations and resources that the API product provides to API consumers. The API gateway also has an API configuration that describes how external requests are routed to internal microservices, along with other constraints on the interface, such as rate limiting and applied security mechanisms.