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

【开源自荐】OpenAPI-TS-Request 根据swagger2/openapi3(适用于Apifox)生成TS、Request Client、mock请求、枚举、枚举翻译、type字段翻译的工具 #451

Open
rookie-ljh opened this issue Jul 2, 2024 · 0 comments

Comments

@rookie-ljh
Copy link

  1. 根据 Swagger2/OpenAPI3 文档生成 typescript 类型、request client 请求代码、mock请求、枚举、type字段翻译。
  2. Apifox默认自动生成 openapi.json,可以配合 openapi-ts-request 一起使用。
  3. 支持自定义请求方法, 支持Fetch、Axios、Uniapp-Request、Node.js、XHR 等任意请求库。
  4. 支持根据 tags 过滤 api 和 typescript。
  5. 支持 mock 后端请求
    6.我会长期进行维护,及时处理 issue 和 pr。
  • 项目截图 (6张以内):

参考 模板

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

1 participant