Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yeyan1996/free-swagger
swagger → API code
https://github.com/yeyan1996/free-swagger
frontend swagger
Last synced: 4 days ago
JSON representation
swagger → API code
- Host: GitHub
- URL: https://github.com/yeyan1996/free-swagger
- Owner: yeyan1996
- License: mit
- Created: 2020-01-06T14:35:42.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-07-10T19:07:40.000Z (6 months ago)
- Last Synced: 2024-12-14T12:08:14.196Z (11 days ago)
- Topics: frontend, swagger
- Language: TypeScript
- Homepage:
- Size: 102 MB
- Stars: 62
- Watchers: 4
- Forks: 20
- Open Issues: 15
-
Metadata Files:
- Readme: README-zh_CN.md
- License: LICENSE
Awesome Lists containing this project
README
# free-swagger
[English](./README.md) | 中文
![](https://img.shields.io/npm/v/free-swagger)
![](https://lh3.googleusercontent.com/9-zCfWch9RTVyqA0mYwdNj4y4upB5ER69G5gj4xqON3Yzq8kT_eZW-LlUeMzprbSQqH2LYyzSIze8ogTQbophaouGg=w128-h128-e365)
根据 swagger 文档自动生成 api 文件,真正解放双手的工具
支持 js/ts 两种语言,自动生成出参/入参的代码 & 类型定义
free-swagger 提供多种接入方式
* chrome 浏览器插件: [free-swagger-extension](./packages/extension/README.md)
* 命令行: [free-swagger-cli](./packages/cli/README.md)
* 油猴脚本: [free-swagger-userscript](./packages/userscript/README.md)
* node: [free-swagger](./packages/api/README.md)
相关博客:[可能是你遇到最好用的 swagger 前端代码生成工具](https://juejin.cn/post/7010969620493156382)
# Contribute
> 推荐使用 node14```shell
npm run bootstrap
```