[pull] main from fern-api:main#804
Merged
Merged
Conversation
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 : )