Skip to content

Add missing definitionProperties to JSONSchemaSingleItemSchemaConstraint - #77

Merged
noha merged 1 commit into
masterfrom
fix-single-item-schema-definition-properties
Aug 1, 2026
Merged

Add missing definitionProperties to JSONSchemaSingleItemSchemaConstraint#77
noha merged 1 commit into
masterfrom
fix-single-item-schema-definition-properties

Conversation

@noha

@noha noha commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Found while round-tripping real OpenAPI 3.0 documents through OpenAPI's document object model (fromString:/specString): the reference-resolve visitor generically introspects each constraint's definitionProperties, but this constraint overrides initializeFromDefinition: directly and never declared it - MessageNotUnderstood on any schema using items/ additionalItems (i.e. any array schema) that goes through that path.

Found while round-tripping real OpenAPI 3.0 documents through OpenAPI's
document object model (fromString:/specString): the reference-resolve
visitor generically introspects each constraint's definitionProperties,
but this constraint overrides initializeFromDefinition: directly and
never declared it - MessageNotUnderstood on any schema using items/
additionalItems (i.e. any array schema) that goes through that path.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@noha
noha merged commit 770ea04 into master Aug 1, 2026
3 of 4 checks passed
@noha
noha deleted the fix-single-item-schema-definition-properties branch August 1, 2026 15:30
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.

1 participant