已经打包好的镜像(内含部署)
https://hub.docker.com/r/lukbinx/yapi

使用插件

项目地址 https://github.com/inceptiongt/Yapi-plugin-export-docx-data

yapi plugin --name yapi-plugin-export-docx-data

如果没有yapi 命令

npm install -g yapi-cli --registry https://registry.npmmirror.com/

npm install -g ykit --registry https://registry.npmmirror.com/

原生导出

先导出 html 格式

然后使用 pandoc 转换为word

https://pandoc.org/

pandoc.exe xxx.html -o xxx.docx

更多推荐