UNPKG

require-hapiroutes

Version:

Module to help organize and manage Hapi route definitions

23 lines (22 loc) 446 B
module.exports = [ { method : 'GET', path : '/route3', handler : function(req, reply) {}, config : { description: 'my route1 description', notes: 'Important stuff to know about this route', tags : ['app'] } }, { method : 'GET', path : '/route4', handler : function(req, reply) {}, config : { description: 'my route1 description', notes: 'Important stuff to know about this route', tags : ['app'] } } ]