An open API service indexing awesome lists of open source software.

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 的接口类型及其请求函数代码。

Awesome Lists containing this project

README

          

# YApi to TypeScript ![Test](https://github.com/fjc0k/yapi-to-typescript/workflows/Test/badge.svg) [![codecov](https://codecov.io/gh/fjc0k/yapi-to-typescript/branch/master/graph/badge.svg)](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)