under development
$ npm install yaag-nodejs
####Use with default options
var docGenerator = require('yaag-nodejs');
var app = require('express')();
var bodyParser = require('body-parser');
app.use(bodyParser.urlencoded({
extended: true
}));
app.use(bodyParser.json());
app.use(docGenerator());
####Use with custom options
var docGenerator = require('yaag-nodejs');
var app = require('express')();
app.use(docGenerator());
var bodyParser = require('body-parser');
app.use(bodyParser.urlencoded({
extended: true
}));
app.use(bodyParser.json());
app.use(docGenerator({
on: true,
baseUrls: {
Production: 'http://yaag-nodejs.com'
},
docTitle: 'Yaag API',
docPath: '/yaagDocs'
}));
- Akshay Kumar (akshaykumar12527@gmail.com)