Skip to content

Conversation

@knope-bot
Copy link
Contributor

@knope-bot knope-bot bot commented Dec 2, 2025

Important

Merging this pull request will create this release

Breaking Changes

Fixes

Fix bad code generation

#1360 by @EricAtORS

This fixes:

Fix optional bodies

If a body is not required (the default), it will now:

  1. Have Unset as part of its type annotation.
  2. Default to a value of UNSET
  3. Not be included in the request if it is UNSET

Thanks @orelmaliach for the report! Fixes #1354

@knope-bot knope-bot bot force-pushed the knope/release branch 2 times, most recently from 058047c to 4444828 Compare December 3, 2025 20:39
@dbanty dbanty enabled auto-merge December 3, 2025 20:47
@dbanty dbanty added this pull request to the merge queue Dec 3, 2025
Merged via the queue into main with commit 49fa8fc Dec 3, 2025
21 checks passed
@dbanty dbanty deleted the knope/release branch December 3, 2025 20:53
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.

Json requestBody cannot be optional

2 participants