Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在我的 Swagger 2.0 定义中为 API Manager 中的“文档和附件”选项卡指定项目?
从 4.0.1.0 版开始,不支持此功能。
这可能会在未来的版本中通过 Swagger 2.0 供应商扩展得到支持。
操作级别的“externalDocs”是 Swagger 2.0 规范中唯一接近的东西,但它只允许用户放置一个链接......而 API 管理“文档”选项卡允许用户放置多个链接和附件。
与此同时,您将不得不使用 UI。