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: v2 request body content null propagation #2042

Merged
merged 2 commits into from
Jan 6, 2025

Conversation

baywet
Copy link
Member

@baywet baywet commented Jan 3, 2025

No description provided.

}

if (RequestBody != null)
{
// consumes
var consumes = RequestBody.Content.Keys.Distinct().ToList();
if (consumes.Any())
var consumes = new HashSet<string>(RequestBody.Content?.Keys.Distinct(StringComparer.OrdinalIgnoreCase) ?? [], StringComparer.OrdinalIgnoreCase);
Copy link
Member

Choose a reason for hiding this comment

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

👍🏼

@baywet baywet merged commit 6d064c4 into dev Jan 6, 2025
12 checks passed
@baywet baywet deleted the fix/v2-request-body-content branch January 6, 2025 06:00
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