Skip to content

Render patternProperties in all cases - #321

Merged
wparad merged 3 commits into
Authress-Engineering:release/2.4from
Xarno:rendererror-pattern
Nov 9, 2026
Merged

wparad merged 3 commits into
Authress-Engineering:release/2.4from
Xarno:rendererror-pattern

Conversation

@Xarno

@Xarno Xarno commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

If a patternproperty got into a one of (or other complex child relations) it was not (fully) rendered. This change fixes the rendering.
Example openapi file is in the commit.

Broken

A-pattern-before-base

Fixed

A-pattern-after

…ntyped oneOf, anyOf and allOf options.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@wparad wparad left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small thing and then we are good to merge.

Please remove the mocks, or at the very least move them to the schema-utils test where necessary, although I get the sense the tests are already complete. What you do with them is up to you, but we don't need these mocks like this.

@wparad wparad left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tests that were added should not have been deleted, please add those back.

@Xarno

Xarno commented Nov 9, 2026

Copy link
Copy Markdown
Contributor Author

Ah, sorry.

@wparad
wparad merged commit b8cecb2 into Authress-Engineering:release/2.4 Nov 9, 2026
2 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