I the following code in my hapijs (nodejs) project
var t = require('joi');
var bdd = require('./../bdd');
module.exports = [
{
method: 'GET',
path: '/getAllParties',
handler: function (request, reply) {
//some code
},
config:{
description: this.path + " route."
}
}
];
But when a load my route i see :
: description = undefined route. ...
How do I set this value ?