Skip to content

Feature request: Log failed results on higher level #406

Open
@walles

Description

@walles

Could you log failed validations on warning level, and keep non-failed validations at debug?

If you have lots of successes and only a few failures this would make the output a lot easier to read.

openapi-cop/src/app.ts

Lines 157 to 160 in fbc58eb

debug(
`Validation results [${oasRequest.method} ${oasRequest.path}] ` +
JSON.stringify(validationResults, null, 2),
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions