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).