Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

3.3: schema tests for unevaluatedProperties #5095

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

Open
ralfhandl wants to merge 1 commit into OAI:v3.3-dev
base: v3.3-dev
Choose a base branch
Loading
from ralfhandl:3.3-test-unevaluatedProperrties

Conversation

@ralfhandl
Copy link
Contributor

@ralfhandl ralfhandl commented Oct 31, 2025
edited
Loading

Many Objects defined in the spec don't allow additional properties.

Test these by taking a minimal instance that passes, inject a property with a very unlikely name and verify that it fails.

  • New "fail" test cases for Discriminator Object and External Documentation Object within a Schema Object, defined in meta.yaml
  • Table-driven test for Objects defined in schema.yaml with test cases in file minimal-objects.yaml

This brings subschema ("function") test coverage up to 100%.


  • no schema changes are needed for this pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@miqui miqui miqui approved these changes

At least 2 approving reviews are required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /