知识卡片
静态托管接口文档
把静态页面、渲染资源和 OpenAPI 定义发布到文档地址,可以独立于 API 服务更新可读文档。核对定义 URL、页面容器和服务地址,分别验证能渲染、能定位操作和能发出实际请求。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Preparing and hosting API documentation 8.5 Hosting our API documentation using Netlify.com and Swagger UI · 查看原书依据
Nowadays you’ll find Swagger UI in all sorts of places, as it can be hosted on its own. The project is a collection of HTML, JS, and CSS files that dynamically build up a webpage, rendering the OpenAPI definition.
参考来源
- 位置:《Designing APIs with Swagger and OpenAPI》第08章《Preparing and hosting API documentation》(来源项目 book-source:extracted/Designing APIs with Swagger and OpenAPI/_epub-src/OEBPS/Text/ch08.htm,阅读块 165)
- 结论依据:原文说明 Swagger UI 是浏览器中装载定义的静态资源集合。
- 原始内容:Nowadays you’ll find Swagger UI in all sorts of places, as it can be hosted on its own. The project is a collection of HTML, JS, and CSS files that dynamically build up a webpage, rendering the OpenAPI definition.