Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(rulesets): avoid false errors from ajv (#2408)
* fix(rulesets): avoid false errors from ajv This commit modifies the oasExample function so that example fields are removed from the schema to be used for validation. This is needed because the presence of an "example" field in a schema confuses ajv in certain scenarios. References: - #2081 - #2140 - ajv-validator/ajv#1426 * docs(repo): fix lint warning in README Signed-off-by: Phil Adams <[email protected]> * chore(rulesets): use traverse --------- Signed-off-by: Phil Adams <[email protected]> Co-authored-by: Jakub Rożek <[email protected]>
- Loading branch information