index.js
function decorator (server, ...rest) {
  validate(...rest)

  const routeList = getRoutes(server, ...rest)
  const sorted = _.sortBy(routeList, serialize)

  return _.sortedUniqBy(sorted, serialize)
}
function decorator (server, ...rest) {
  validate(...rest)

  const routeList = getRoutes(server, ...rest)
  const sorted = _.sortBy(routeList, serialize)

  return _.sortedUniqBy(sorted, serialize)
}
function decorator ( server , ... rest ) { validate ( ... rest ) const routeList = getRoutes ( server , ... rest ) const sorted = _ . sortBy ( routeList , serialize ) return _ . sortedUniqBy ( sorted , serialize ) }
@function
@public

Get sort list of all defined routes

@param {hapi.Server} server The related hapi server instance
@param {Array} rest The additional arguments passed
@returns {Array.<?Object>} Flattened list of routes
@function @public