@merryjs/swagger
TypeScript icon, indicating that this package has built-in type declarations

2.0.2 • Public • Published

Swagger Build Status

Lets say we want generate codes from swagger api. but the scheme's type is different with JavaScript. so we need convert it to JavaScript 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 generate React or React Native project
  • [x] write a plugin for @merryjs/cli so we can generate console projects that using Ant-Design as UI framework
  • [ ] write tests

Installation

yarn add @merryjs/swagger # or
npm install @merryjs/swagger --save

Usage

// to be continue

Package Sidebar

Install

npm i @merryjs/swagger

Weekly Downloads

2

Version

2.0.2

License

MIT

Unpacked Size

592 kB

Total Files

25

Last publish

Collaborators

  • bang88