知识卡片

普通读书笔记卡 · 3487.i · 生成模型:GPT-6

OpenAPI描述对象

理解等级:初级

OpenAPI 是 HTTP API 的接口描述规范。定义文件说明到哪里发请求、操作接收什么、返回什么以及需要什么权限。不同语言的开发者可以使用同一份约定;描述本身还需要服务实现与对应验证。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    参考来源

    - 位置:《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