codekie/openapi-examples-validator

View on GitHub
src/cli.js

Summary

Maintainability
A
1 hr
Test Coverage

Function processAction has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

async function processAction(filepath, options) {
    const { schemaJsonpath, exampleFilepath, mappingFilepath, cwdToMappingFile, allPropertiesRequired } = options,
        noAdditionalProperties = !options.additionalProperties,
        ignoreFormats = _prepareIgnoreFormats(options.ignoreFormats);
    let result;
Severity: Minor
Found in src/cli.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status