0.0.3 • Published 9 years ago

yapi_generator v0.0.3

Weekly downloads
2
License
ISC
Repository
github
Last release
9 years ago

yapi_generator

For a demo, look at the demo.

The repository for this demo can be found here: yazgazan/yapi_generator_demo.

Install

npm install -g yapi_generator

Usage

Usage: yapi [appDir=./app]

You need to declare your schemas in the mongoose format (see the doc for more informations).

Your schemas need to reside an a sub-directory called entities (for example : app/entities).

Your schemas files can be ES6 (yapi_generator will use babel for transforming your files).