fix(tasks/website): Handle nested $refs correctly#17739
fix(tasks/website): Handle nested $refs correctly#17739graphite-app[bot] merged 1 commit intomainfrom
$refs correctly#17739Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
$refs correctly
There was a problem hiding this comment.
Pull request overview
This PR fixes the handling of nested schema references in the website documentation generator. When a schema contains an anyOf with references ($ref) that themselves contain nested anyOf clauses, the code now flattens these nested structures to properly render all schema variants.
Key changes:
- Introduced a two-pass approach: first collecting and flattening schemas, then processing them
- Added logic to detect and flatten nested
anyOfstructures within resolved references - Enhanced type detection to check both validation fields and explicit instance types
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
1902a86 to
5c89e39
Compare
Merge activity
|
The necessary fixes for #17738
5c89e39 to
9523203
Compare

The necessary fixes for #17738