npm.io
2.0.2 • Published 5 years ago

@merryjs/swagger

Licence
MIT
Version
2.0.2
Deps
5
Size
578 kB
Vulns
0
Weekly
0
Stars
1

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:

  • convert schema type to TypeScript type
  • generate TypeScript type definitions from swagger definitions
  • 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
  • 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

Keywords