安装工具 npm install -g redoc-cli 生成文档 redoc-cli bundle -o index.html swagger.json 文档效果 参考 https://blog.csdn.net/weixin_42288182/article/details/106896534 https://github.com/Redocly/redoc#redoc-cli