lib/param-parser.js
function getParams (req) {
  if (req.swagger && req.swagger.params) {
    return req.swagger.params;
  }
  return [];
}
function getParams (req) {
  if (req.swagger && req.swagger.params) {
    return req.swagger.params;
  }
  return [];
}
function getParams ( req ) { if ( req . swagger && req . swagger . params ) { return req . swagger . params ; } return [ ] ; }
Returns an array of the `req.swagger.params` properties.

@returns {object[]}
Returns an array of the req . swagger . params properties .