> This page is for SDKs, version Legacy.
> For other versions, use one of these documentation indexes:
> - Current (default): https://buildwithfern.com/learn/sdks/current/llms.txt
> - Legacy: https://buildwithfern.com/learn/sdks/legacy/llms.txt

> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt. For task-scoped instructions for coding agents working in a Fern project, see https://buildwithfern.com/learn/home/fern-instructions.md.

## 3.88.0

**`(fix):`** With `respectOptionalRequestBody` enabled, examples that omit an optional request body are no
longer dropped from the generated reference, snippets, and docs comments.

**`(feat):`** Add `respectOptionalRequestBody`. With it enabled, an endpoint whose request body the API does
not require takes an optional body parameter — `refund(id: string, request?: RefundRequest)` —
keeping the body's own type rather than widening it to `RefundRequest | undefined`, and sending
no body when the caller omits it. Examples that supply no body render as `client.refund(id)`,
and the generated wire test for such an example no longer asserts a request body. Defaults to
`false`, so signatures and snippets are unchanged until you opt in.