Skip to content

Conversation

@ralfhandl
Copy link
Contributor

@ralfhandl ralfhandl commented Oct 31, 2025

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants