Swagger
Lets say we want generate codes from swagger api. but the scheme's type is different with
JavaScript
. so we need convert it toJavaScript
type
Note:
This is a WIP project.
TODO:
- [x] convert schema type to
TypeScript
type - [x] generate
TypeScript
type definitions from swagger definitions - [x] generate a readable data format from swagger api that we can use it in handlebar templates easier
- [ ] write a plugin for
@merryjs/cli
so we can generateReact
orReact Native
project - [x] write a plugin for
@merryjs/cli
so we can generate console projects that usingAnt-Design
as UI framework - [ ] write tests
Installation
yarn add @merryjs/swagger # or
npm install @merryjs/swagger --save
Usage
// to be continue