Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent example additional keyword from logging warning #158

Merged
merged 2 commits into from
Feb 11, 2025

Conversation

rzhang2atl
Copy link
Contributor

The example keyword is an additional keyword which causes a warning to be logged when AJV strict mode is set to log. This results in a lot of logging which obfuscates investigations and debugging, and is not meaningful to be logged.

Fixes this by adding the example keyword to the AJV validator, and allowing it to pass through assuming it conforms to one of the meta schema types.

@rzhang2atl rzhang2atl self-assigned this Feb 11, 2025
Copy link

changeset-bot bot commented Feb 11, 2025

🦋 Changeset detected

Latest commit: 1262224

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
oas3-chow-chow Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@rzhang2atl rzhang2atl merged commit d33f488 into master Feb 11, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants