Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bang88/swagger
https://github.com/bang88/swagger
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/bang88/swagger
- Owner: BANG88
- Created: 2018-03-14T02:45:54.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-06T20:09:27.000Z (about 2 years ago)
- Last Synced: 2025-01-04T15:16:39.474Z (22 days ago)
- Language: TypeScript
- Size: 384 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 12
-
Metadata Files:
- Readme: readme.md
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
```