0.0.3 • Published 10 years ago
yapi_generator v0.0.3
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_generatorUsage
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).