test-set/express-endpoint-master/lib/middleware/params.js
Function exports
has 86 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
exports = module.exports = function(options) {
var config = merge({
rules: {},
parameters: []
}, options)
Function parseParams
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function parseParams(req, parseCb) {
var rule
, ruleFn
, normalParam;