Skip to content

fix: avoid filling parameter input with invalid array initial values#10928

Merged
glowcloud merged 6 commits into
masterfrom
fix/SWG-19243-array-param
Jun 23, 2026
Merged

fix: avoid filling parameter input with invalid array initial values#10928
glowcloud merged 6 commits into
masterfrom
fix/SWG-19243-array-param

Conversation

@glowcloud

@glowcloud glowcloud commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Fixes an issue where invalid example/default values for parameters of type array were causing the Try it out request to fail. The array input will not be filled when the example/default value is not an array or a stringified array. If a chosen example from parameter.examples is not an array, it will also not fill the input.

@glowcloud glowcloud self-assigned this Jun 17, 2026
@glowcloud
glowcloud marked this pull request as ready for review June 18, 2026 09:01
@glowcloud
glowcloud merged commit 014c512 into master Jun 23, 2026
9 checks passed
@glowcloud
glowcloud deleted the fix/SWG-19243-array-param branch June 23, 2026 07:24
swagger-bot pushed a commit that referenced this pull request Jun 23, 2026
## [5.32.8](v5.32.7...v5.32.8) (2026-06-23)

### Bug Fixes

* avoid filling parameter input with invalid array initial values ([#10928](#10928)) ([014c512](014c512))
@swagger-bot

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 5.32.8 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants