知识卡片
词汇扩展与工具行为
词汇给一组 Schema 关键字定义含义及元模式,文档可声明默认方言。自有关键词可以写出并校验其定义格式,验证器仍须实现相应行为。因此扩展适用于可协调工具链的场景。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Appendix A. Swagger 2.0, OpenAPI 3.0, and OpenAPI 3.1 A.3 OpenAPI 3.1 · 查看原书依据
JSON Schema 2020-12 offers the ability to extend itself via something called vocabularies. This is an advanced feature that may not be needed when describing most APIs, but it can be very powerful for large organizations or even whole industries (travel, banking,
参考来源
- 位置:《Designing APIs with Swagger and OpenAPI》附录 A《Appendix A. Swagger 2.0, OpenAPI 3.0, and OpenAPI 3.1》(来源项目 book-source:extracted/Designing APIs with Swagger and OpenAPI/_epub-src/OEBPS/Text/A.htm,阅读块 120)
- 结论依据:附录说明词汇可加关键词,需要工具理解其语义。
- 原始内容:JSON Schema 2020-12 offers the ability to extend itself via something called vocabularies. This is an advanced feature that may not be needed when describing most APIs, but it can be very powerful for large organizations or even whole industries (travel, banking,