Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

开发了一个yapi生成代码的工具,想加入你们的工具列表中 #2746

Open
czb3279338858 opened this issue May 12, 2024 · 3 comments

Comments

@czb3279338858
Copy link

开发了一个yapi生成代码的工具,已经在我们公司内部的项目中进行了实践,希望能够加入到你们文档的工具列表中
npm 地址为:https://www.npmjs.com/package/yapi-to-code

@gozeon
Copy link

gozeon commented May 21, 2024

可以加到 https://github.com/gozeon/yapii 或者你先设置协议,我来集成

@mojerro
Copy link

mojerro commented Aug 13, 2024

这个生成的是什么代码,我没太看懂readme

@czb3279338858
Copy link
Author

czb3279338858 commented Aug 13, 2024

这个生成的是什么代码,我没太看懂readme

本质上就是抽取了yapi中的ts类型及提供了一些公共方法,方便用户去生成自己的接口代码。
npm的readme中的配置文件(中文例子)才是怎么使用这个工具的主要说明,链接如下
https://github.com/czb3279338858/yapi-to-code/blob/main/yapi-to-code.config.cjs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants