Skip to content

Feature request: Log failed results on higher level #406

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),
);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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