知识卡片
OpenAPI描述对象
OpenAPI 是 HTTP API 的接口描述规范。定义文件说明到哪里发请求、操作接收什么、返回什么以及需要什么权限。不同语言的开发者可以使用同一份约定;描述本身还需要服务实现与对应验证。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Introducing APIs and OpenAPI 1.3 What is OpenAPI? · 查看原书依据
OpenAPI specifies a way of describing HTTP-based APIs, which are typically RESTful APIs (more on what REST is later). An OpenAPI definition comes in the form of a YAML or JSON file that describes the inputs and outputs of an API. It
参考来源
- 位置:《Designing APIs with Swagger and OpenAPI》第01章《Introducing APIs and OpenAPI》(来源项目 book-source:extracted/Designing APIs with Swagger and OpenAPI/_epub-src/OEBPS/Text/ch01.htm,阅读块 32)
- 结论依据:定义段明确文件格式、输入输出、托管地址及权限。
- 原始内容:OpenAPI specifies a way of describing HTTP-based APIs, which are typically RESTful APIs (more on what REST is later). An OpenAPI definition comes in the form of a YAML or JSON file that describes the inputs and outputs of an API. It