Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/yanxi123-com/rest-api-doc

Define you api in coffee script, then generate the api document.
https://github.com/yanxi123-com/rest-api-doc

Last synced: 14 days ago
JSON representation

Define you api in coffee script, then generate the api document.

Awesome Lists containing this project

README

        

rest-api-doc
=====================================

### Put you API in api directory:
[put your apis here](./api)

### install
```
npm install
npm install -g gulp
```

### Run dev
```
gulp dev
```

### deploy dev
```
gulp deploy-dev
```

### Run production
```
gulp prod
```

## api doc structure
```coffee
name: String
baseUrl: String
description: String
apis: [{
title: String
description: String # optional
url: String
method: String # POST, GET

body: bodyStructure

successResponse: successResponseStructure

errorResponse: errorResponseStructure
}]
```