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.
|
debug( |
|
`Validation results [${oasRequest.method} ${oasRequest.path}] ` + |
|
JSON.stringify(validationResults, null, 2), |
|
); |
Could you log failed validations on
warninglevel, and keep non-failed validations atdebug?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