wonderlic/swagger-validation

View on GitHub
lib/validation/paramType.js

Summary

Maintainability
A
40 mins
Test Coverage

Consider simplifying this complex logical expression.
Open

  if (req.query === undefined && req.path === undefined && req.body === undefined
    && req.form === undefined && req.header === undefined && req.params === undefined) {
    return paramTypes.object(param, req, models, validationObj);
  }
Severity: Major
Found in lib/validation/paramType.js - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status