我正在使用raml2http节点包将我的raml文档转换为html文档。
使用全局安装的raml2http
npm install -g raml2html将raml转换为html的命令
raml2html -i [input file path] -o [output file path]result -空大括号,而不是html文档。
{}我做错了什么吗?
发布于 2017-01-28 22:35:06
根据raml2html docs的说法,raml2html 4和更高版本仅支持RAML 1.0文件。我已经安装了raml2html 4,并在RAML0.8文件上使用它,因此得到了空的大括号。降低raml2html版本解决了这个问题。
https://stackoverflow.com/questions/41593114
复制相似问题