Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/bang88/swagger


https://github.com/bang88/swagger

Last synced: 8 days ago
JSON representation

Awesome Lists containing this project

README

        

# Swagger [![Build Status](https://travis-ci.org/bang88/swagger.svg?branch=master)](https://travis-ci.org/bang88/swagger)

> 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

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

## Usage

```ts
// to be continue
```