https://github.com/fjc0k/yapi-to-typescript
根据 YApi 或 Swagger 的接口定义生成 TypeScript 或 JavaScript 的接口类型及其请求函数代码。
https://github.com/fjc0k/yapi-to-typescript
interface-builder javascript swagger swagger-codegen typescript yapi yapi-codegen
Last synced: 5 months ago
JSON representation
根据 YApi 或 Swagger 的接口定义生成 TypeScript 或 JavaScript 的接口类型及其请求函数代码。
- Host: GitHub
- URL: https://github.com/fjc0k/yapi-to-typescript
- Owner: fjc0k
- License: mit
- Created: 2018-11-29T17:13:02.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-11-21T07:14:18.000Z (11 months ago)
- Last Synced: 2025-05-10T12:46:30.142Z (5 months ago)
- Topics: interface-builder, javascript, swagger, swagger-codegen, typescript, yapi, yapi-codegen
- Language: TypeScript
- Homepage: https://fjc0k.github.io/yapi-to-typescript/handbook/
- Size: 5.63 MB
- Stars: 461
- Watchers: 2
- Forks: 85
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# YApi to TypeScript  [](https://codecov.io/gh/fjc0k/yapi-to-typescript)
`YApi to TypeScript`(简称 `ytt`) 是一个代码生成工具,其可根据 [YApi](https://github.com/YMFE/yapi) 或 [Swagger](https://swagger.io/) 的接口定义生成 TypeScript 或 JavaScript 的接口类型及其请求函数代码。
## 文档
- [介绍](https://fjc0k.github.io/yapi-to-typescript/handbook/)
- [配置](https://fjc0k.github.io/yapi-to-typescript/handbook/config.html)
- [使用](https://fjc0k.github.io/yapi-to-typescript/handbook/usage.html)
- [统一请求函数](https://fjc0k.github.io/yapi-to-typescript/handbook/request.html)
- [更新日志](https://fjc0k.github.io/yapi-to-typescript/handbook/changelog.html)
- [国内镜像 🇨🇳](https://fjc0k.gitee.io/yapi-to-typescript/handbook/)## 交流群
钉钉扫码加入交流群:
## 许可
[MIT](https://github.com/fjc0k/yapi-to-typescript/blob/master/LICENSE) © [Jay Fong](https://github.com/fjc0k)