Skip to content

Add support for generating default values for lists#3176

Merged
skarimo merged 3 commits intomasterfrom
sherz/fix-gen
Oct 7, 2025
Merged

Add support for generating default values for lists#3176
skarimo merged 3 commits intomasterfrom
sherz/fix-gen

Conversation

@skarimo
Copy link
Copy Markdown
Member

@skarimo skarimo commented Oct 7, 2025

Previously, we were returning an empty list which doesn't work well with required properties. This PR makes sure we generate a default value and check the example on the parameter object as a fall back

@skarimo skarimo requested review from a team as code owners October 7, 2025 18:38
@skarimo skarimo added the changelog/no-changelog Changes don't appear in changelog label Oct 7, 2025
Copy link
Copy Markdown
Member

@armcburney armcburney left a comment

Choose a reason for hiding this comment

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

LGTM

@skarimo skarimo merged commit 5f14d29 into master Oct 7, 2025
15 checks passed
@skarimo skarimo deleted the sherz/fix-gen branch October 7, 2025 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/no-changelog Changes don't appear in changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants