Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion fern/products/sdks/overview/java/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ Specifies the name of the base exception class that all generated exceptions wil
The provided string will be used as the client class name.
</ParamField>

<ParamField path="collapse-optional-nullable" type="boolean" default="false" required={false} toc={true}>
When enabled, generates `OptionalNullable<T>` types for PATCH request fields to distinguish between three states: absent (field not provided), null (field explicitly set to null), and present (field has a non-null value). This enables proper handling of JSON Merge Patch semantics where omitting a field, setting it to null, and providing a value have different meanings.
Copy link
Contributor

Choose a reason for hiding this comment

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

📝 [vale] reported by reviewdog 🐶
[FernStyles.Acronyms] 'PATCH' has no definition.

</ParamField>

<ParamField path="custom-dependencies" type="List<string>" required={false} toc={true}>

<Markdown src="/snippets/pro-plan.mdx"/>
Expand Down Expand Up @@ -140,4 +144,4 @@ Provides a description of the SDK package that will appear in package metadata a
</ParamField>
<ParamField path="reference-url" type="string" required={false} toc={true}>
Sets the reference URL (typically the API documentation or project website) that will be included in the package metadata for users to find additional information.
</ParamField>
</ParamField>