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

jsonschema: ignore extension fields #413

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

cpuguy83
Copy link
Member

x- fields are documented as fields we ignore, so make it so jsonschema validations ignore it as well.

example:

image

@cpuguy83 cpuguy83 requested a review from a team as a code owner October 24, 2024 01:37
@pmengelbert
Copy link
Contributor

Test failures have to be flakes, right?

@pmengelbert
Copy link
Contributor

Otherwise LGTM. Rerunning the tests, will approve when they pass

@cpuguy83
Copy link
Member Author

Fix for the failure is in #415

`x-` fields are documented as fields we ignore, so make it so jsonschema
validations ignore it as well.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
@cpuguy83 cpuguy83 force-pushed the ignore_extension_fields branch from 931ed5a to 03a2c75 Compare October 30, 2024 21:07
@cpuguy83 cpuguy83 added this to the v0.10.0 milestone Oct 30, 2024
@cpuguy83 cpuguy83 merged commit d737b46 into Azure:main Oct 30, 2024
8 checks passed
@cpuguy83 cpuguy83 deleted the ignore_extension_fields branch October 31, 2024 00:24
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.

3 participants