我有 swagger/openapi 规范。是否存在生成 javascript 客户端然后在 vue.js 组件中使用它的任何解决方案?

谷歌搜索后我发现了这个:https://github.com/swagger-api/swagger-codegen 但我想为 vue.js/webpack 找到更多“原生”解决方案

最佳答案

对这个问题的回答比较晚,但我认为有人可能仍然会偶然发现它以寻找解决方案。并且不再维护之前评论中的建议。



https://github.com/swagger-api/swagger-codegen

( https://github.com/swagger-api/swagger-codegen#user-content-where-is-javascript )

https://github.com/swagger-api/swagger-js

我希望这对任何来到这里寻找的人都有帮助。

关于vue.js - 来自 swagger 规范的 vue.js 客户端,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/51437540/

10-16 16:28