Skip to content

[pull] main from fern-api:main#804

Merged
pull[bot] merged 19 commits into
code:mainfrom
fern-api:main
Jun 18, 2026
Merged

[pull] main from fern-api:main#804
pull[bot] merged 19 commits into
code:mainfrom
fern-api:main

Conversation

@pull

@pull pull Bot commented Jun 18, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

devin-ai-integration Bot and others added 19 commits June 18, 2026 23:26
…ire tests (#16602)

Co-authored-by: naman.anand <iamnamananand996@gmail.com>
Co-authored-by: naman.anand <iamnamananand996@gmail.com>
Co-authored-by: thesandlord <8902396+thesandlord@users.noreply.github.com>
Co-authored-by: iamnamananand996 <31537362+iamnamananand996@users.noreply.github.com>
Co-authored-by: thesandlord <8902396+thesandlord@users.noreply.github.com>
…pets (#16580)

* fix(java): wrap optional<nullable<T>> request body in Optional.of for snippets

* chore: escape angle brackets in changelog summary

---------

Co-authored-by: naman.anand <iamnamananand996@gmail.com>
Co-authored-by: iamnamananand996 <31537362+iamnamananand996@users.noreply.github.com>
Co-authored-by: jsklan <100491078+jsklan@users.noreply.github.com>
…der ordering in snippets (#16613)

* fix(java): respect nullable/optional config flags and fix staged-builder ordering in snippets

* fix(java): preserve schema order for defaulted required properties in snippets

---------

Co-authored-by: naman.anand <iamnamananand996@gmail.com>
…asses (#16599)

* fix(java): resolve inline type names in dynamic snippets to nested classes

* Add ClassReference and inline-type snippet tests

Add unit tests for ClassReference to verify simple and nested class name rendering, import behavior, fullyQualified output, and default enclosingClasses. Extend DynamicSnippetsGenerator tests to cover inline-type naming (ensuring nested class names are used when enable-inline-types and inlineTypeIds are supplied) and a regression guard when inlineTypeIds is absent. Update test helper buildDynamicSnippetsGenerator to accept an optional inlineTypeIds set and forward it to DynamicSnippetsGenerator.

---------

Co-authored-by: naman.anand <iamnamananand996@gmail.com>
…e mapper (#16597)

* fix(java): correct nullable/optional handling in generated snippets

Fixes nullable-optional fixtures for use-nullable-annotation and collapse-optional-nullable configs.

* fix(java): collapse nested same-kind optional/nullable in snippet type mapper

Mirror DynamicTypeLiteralMapper so optional<optional<U>> and nullable<nullable<U>> collapse to OptionalNullable<U> under collapse-optional-nullable, matching the literal mapper and avoiding type/value mismatches.

---------

Co-authored-by: naman.anand <iamnamananand996@gmail.com>
@pull pull Bot locked and limited conversation to collaborators Jun 18, 2026
@pull pull Bot added the ⤵️ pull label Jun 18, 2026
@pull pull Bot merged commit fbf7d53 into code:main Jun 18, 2026
9 of 10 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant