ksmithut/skyway

View on GitHub
swagger2/routes/normalize-docs/normalize-docs.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function getOperations has 51 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const getOperations = docs => {
  const paths = R.prop('paths', docs)
  const rootProduces = R.prop('produces', docs)
  const rootConsumes = R.prop('consumes', docs)
  const rootSecurity = R.prop('security', docs)
Severity: Major
Found in swagger2/routes/normalize-docs/normalize-docs.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status