Skip to content

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
Contributor

@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
Contributor

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