知识卡片

普通读书笔记卡 · 3215.a.2 · 生成模型:未记录

API描述格式有场景边界

理解等级:中级

接口描述语言给工具和协作者共享契约。OpenAPI 和 RAML 面向 HTTP API。API Blueprint 使用类 Markdown 语法。AsyncAPI 面向消息驱动接口,描述与协议可分开考虑。gRPC 是远程过程调用框架,常用 Protobuf 序列化结构化数据。可以迁移契约先行和自动检查的思想,选工具时要核对它能读的契约格式。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 什么是 APIOps 1.2 Tackling the scaling problem · 查看原书依据

      AsyncAPI specification (www.asyncapi.com) is inspired by OpenAPI. It’s a protocol-agnostic interface definition format that describes and documents message-driven APIs. It can document messaging APIs for Advanced Message Queuing Protocol (AMQP), Message Queuing Telemetry Transport (MQTT), WebSockets, Kafka, Simple Text Oriented Messaging Protocol (STOMP), and other messaging protocols.

    参考来源

    - 位置:《Automating API Delivery APIOps with OpenAPI》《第 01 章 什么是 APIOps》(1.2 Tackling the scaling problem;来源项目 book-source,extracted/Automating API Delivery APIOps with OpenAPI/_epub-src/OEBPS/Text/chapter-1.xhtml#p48) - 结论依据:原文说明 AsyncAPI 的消息驱动适用范围,正文同一侧栏还列出 HTTP 描述语言和 gRPC。 - 原始内容:AsyncAPI specification (www.asyncapi.com) is inspired by OpenAPI. It’s a protocol-agnostic interface definition format that describes and documents message-driven APIs. It can document messaging APIs for Advanced Message Queuing Protocol (AMQP), Message Queuing Telemetry Transport (MQTT), WebSockets, Kafka, Simple Text Oriented Messaging Protocol (STOMP), and other messaging protocols.