Skip to content

Conversation

kammerjaeger
Copy link
Contributor

Fix: Explode serialization is wrong when style is "form"

This fixes the same problem as #544 but for OpenApiEncoding.
The spec describes different behavior depending on if it is set or not (see: https://spec.openapis.org/oas/v3.1.0.html#fixed-fields-12) and also different defaults depending on the style value.
This also needs to be cherry picked to main, I just need it for v1 but will create a pr to main with the change if this pr is fine.

Please let me know what you think.

@kammerjaeger kammerjaeger requested a review from a team as a code owner September 18, 2025 21:13
@kammerjaeger kammerjaeger force-pushed the fix/explode-default-value branch from f6c558d to c14dd24 Compare September 18, 2025 21:39
Copy link
Member

@baywet baywet left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution!

@baywet
Copy link
Member

baywet commented Sep 19, 2025

@kammerjaeger can you please also sign the CLA? (see the bot comment)

@baywet baywet enabled auto-merge September 19, 2025 12:43
@kammerjaeger
Copy link
Contributor Author

@microsoft-github-policy-service agree company="AMD"

@baywet baywet merged commit 09b5a28 into microsoft:support/v1 Sep 19, 2025
8 checks passed
@kammerjaeger kammerjaeger deleted the fix/explode-default-value branch September 19, 2025 20:26
@kammerjaeger
Copy link
Contributor Author

Thanks for the fast review. How often do you release new versions?

@baywet
Copy link
Member

baywet commented Sep 19, 2025

We make releases as needed, as long as it's possible because this is a maintenance branch.
This process is supposed to be automated, but for some reason it got stuck because we already have a mainline release???
https://github.com/microsoft/OpenAPI.NET/actions/runs/17869041888/job/50818331357

Once we release main, I'll re-run it manually, please ping me if I forget :)

@baywet
Copy link
Member

baywet commented Sep 20, 2025

@kammerjaeger I had to trigger the release manually to circumvent the the issue, I'm waiting for somebody to approve it #2513

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.

2 participants