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

fix(execute): explode array parameters for combined schemas #3826

Merged
merged 5 commits into from
Mar 10, 2025

Conversation

glowcloud
Copy link
Contributor

@glowcloud glowcloud commented Mar 10, 2025

This PR fixes encoding of parameters with:

  • union type which includes array (type: [array, ...])
  • complex schemas with anyOf/oneOf and nested type: array

When an OpenAPI 3.1.0 parameter contains a complex union type, the formatting of requests is not applied properly.

@glowcloud glowcloud self-assigned this Mar 10, 2025
Copy link
Member

@char0n char0n left a comment

Choose a reason for hiding this comment

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

LGTM now

@char0n
Copy link
Member

char0n commented Mar 10, 2025

I'm merging when CI turn green.

@char0n char0n merged commit f408e3c into master Mar 10, 2025
8 checks passed
@char0n char0n deleted the complex-union-type-format branch March 10, 2025 13:24
swagger-bot pushed a commit that referenced this pull request Mar 10, 2025
## [3.34.3](v3.34.2...v3.34.3) (2025-03-10)

### Bug Fixes

* **execute:** explode array parameters for combined schemas ([#3826](#3826)) ([f408e3c](f408e3c))
@swagger-bot
Copy link
Contributor

🎉 This PR is included in version 3.34.3 🎉

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