> 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.

## 0.53.6

**`(fix):`** Drop the discriminant property from inlined discriminated-union variants. When a variant's object
also declared the discriminant (e.g. an OpenAPI `allOf` member with `protocol: const: API`), the
inlined variant got a `protocol` field next to `#[serde(tag = "protocol")]`, which fails to compile
with "variant field name `protocol` conflicts with internal tag". The variant's generated constructors
no longer take a parameter for the discriminant; serde writes it from the tag.