Skip to content
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

add missing field descriptions for anyOf #1007

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ytausch
Copy link

@ytausch ytausch commented Jan 7, 2025

What does this PR do?

Currently, descriptions directly associated with anyOf fields are not shown when hovering. This PR ensures that descriptions for anyOf fields do not only show the descriptions of their children but also the parent description.

What issues does this PR fix or reference?

fixes #952

Is it tested? How?

Yes, please see the modified unit test files.

@msivasubramaniaan
Copy link
Contributor

@ytausch build is failing and please fix the lint issues

@ytausch ytausch force-pushed the anyof-parent-descriptions branch from 90ddd5b to 49f1ab4 Compare January 21, 2025 16:37
@ytausch
Copy link
Author

ytausch commented Jan 21, 2025

@msivasubramaniaan done, could you please approve the workflow again?

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.

Hover: Show root property title and description when using anyOf untitled un-described types
2 participants