【问题标题】:How to install/enable swagger-edior with connexion?如何使用 connexion 安装/启用 swagger-editor?
【发布时间】:2021-04-26 10:03:59
【问题描述】:

安装并完成flask和connexion的基本设置后,我可以访问http://127.0.0.1:5000/myapi/ui并浏览myapi。

我如何安装/访问其他 swagger 工具。前任。编辑?

【问题讨论】:

    标签: swagger connexion


    【解决方案1】:

    通过进一步阅读,我发现,与 swagger-ui 不同,您通常不希望项目中包含编辑器或代码生成器。您可以将其视为代表自己的工具。为了让它运行,在我的 Windows 上,我首先安装了nodejs。之后,您可以使用npm 安装工具。

    > git clone https://github.com/swagger-api/swagger-editor.git
    > cd swagger-editor
    > npm run ...
    

    【讨论】:

      猜你喜欢
      • 2023-03-26
      • 1970-01-01
      • 2021-12-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-01-06
      相关资源
      最近更新 更多