Speakeasy Logo
Skip to Content

Product Updates

Java General Availability and managed OAuth support

Sagar Batchu

Sagar Batchu

March 15, 2024 - 2 min read

Product Updates

Another changelog, another massive improvement to our SDK generation. This month, itโ€™s Javaโ€™s turn for a GA makeover. But our other languages arenโ€™t gathering dust. Weโ€™ve added support for managed OAuth2.0 client credentials flow, and flattened response objects.

Letโ€™s jump into it ๐Ÿš€

Java General Availability

Java is inevitable. You can have your head turned by all the new & exciting languages that are being created, but if you are serving a large organization, you will need to be ready to support Java.

Which is why we are excited to announce that Java is now Generally Available on the Speakeasy Platform! General availability means that every feature of our generation platform is now available for Java. As a bonus, weโ€™ve taken this work as an opportunity to completely revamp the developer experience. Here are the highlights of whatโ€™s changed:

  • Enhanced null safety and Optional support
  • Builder patterns for better readability, discoverability, and convenient overloads
  • Lists instead of arrays for collections
  • No direct field access (getter methods are used now)
  • A simplified Gradle project structure
  • Support for non-discriminated oneOfs
  • Auto-Pagination
  • Retry support
  • OAuth2.0 support

Check out the new interface:

For the details, please read the full announcement here.

๐Ÿšข Improvements and Bug Fixes ๐Ÿ›

Based on most recent version: Speakeasy v1.210.0ย 

๐Ÿšข Handle flat responses for empty status codes
๐Ÿšข Fail schema validation if missing a server
๐Ÿšข Propagate defaults for examples in parameters

Typescript

๐Ÿšข Support Empty Error types
๐Ÿšข Add support for response formats and flat responses
๐Ÿšข Add managed OAuth2.0 client credentials flow support (as a SDK hook)
๐Ÿšข Handle null enums fields and union members
๐Ÿ› Fix missing imports with flat responses

Java

๐Ÿšข Support passing in additional dependencies in the SDK
๐Ÿšข Support callAsStream autopagination syntax
๐Ÿ› Fix typo in README.md Error Handling section

Python

๐Ÿšข Add support for response formats and flat responses

Terraform

๐Ÿšข Use the default http client in TF to remove timeouts

C#

๐Ÿšข Support naming servers

Go

๐Ÿšข Add support for response formats and flat responses

Last updated on

Organize your
dev universe,

faster and easier.

Try Speakeasy Now