express-openapi-validator icon indicating copy to clipboard operation
express-openapi-validator copied to clipboard

Warning Mode

Open cawoodm opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe. It can be risky to activate API validation on existing APIs and it would be nice to have a "warningMode: true" option to not block invalid requests but only log warnings about the URL and issue.

Describe the solution you'd like When warningMode: true the system does not block requires but logs URL and reason.

Describe alternatives you've considered ignorePaths does not meet our requirement

Additional context Would perhaps be nice to enable this feature by path / regex.

cawoodm avatar Jul 06 '23 13:07 cawoodm