我需要将swagger文件编译成html文件。我愿意:
在 editor.swagger.io 上创建 json 文件。 通过命令生成markdown:
widdershins endpoint.json -o ./endpoint.html.md
然后通过命令生成html:
middleman build
然后我将文件复制到 apache,但最终的 html 标记与我的预期有很大不同。有时参数部分不存在,或者 POST 参数未显示。是否存在兼容性问题?我用
https://github.com/lord/slate https://github.com/Mermade/widdershins
这里是 Widdershins 的作者。请在 github 上提出问题,并提供指向您的 swagger/openapi 定义的链接,我们将尝试对其进行调试。