feat(java,go): Java8/OkHttp; generic unions, method arg. options - #2104
Merged
Conversation
Java - fix: resolve imports for cross-namespace discriminated unions - feat: add support for Java8 and OkHttp transport - feat: prevent debug logging from buffering JSONL streaming responses - feat: configurable getter style (always optional or raw) Go - feat: support optional method argument options - feat: idiomatic method-collision resolution - feat: add opt-in generic constructors for union types
AshGodfrey
approved these changes
Jul 24, 2026
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Java
Go
Summary by cubic
Adds Java 8 support with OkHttp transport and improves Go ergonomics for method options and union types. Fixes Java import resolution for cross-namespace discriminated unions and stops debug logging from buffering JSONL streams.
New Features
Dependencies
github.com/speakeasy-api/openapi-generation/v2to v2.924.0.Written for commit d9f307b. Summary will update on new commits.