Changelog: SDK hooks, OpenAPI Reference & more!
New features to the Speakeasy Platform - April 4, 2024
We've got a jam packed changelog that includes the introduction of new extensibility into our code gen platform and a comprehensive OpenAPI reference guide.
Let's get into it π
SDK Hooks
Since Speakeasy started, we've carefully balanced the extensibility and dependability of our code generator. We want users to customize their SDKs without creating a maintenance burden. It can be a difficult balance to strike. Which is why we're excited to announce the biggest addition of extensibility to our platform yet β SDK Hooks!
With SDK Hooks, you are no longer constrained to what is defined in your OpenAPI document. You can now safely inject custom logic into your SDKs where you need it.
OpenAPI Reference
OpenAPI was designed to be capable of describing any HTTP API, whether that be REST or something more akin to RPC-based calls. By design, it has a lot of flexibility baked-in. That is great, but it makes it really hard to grok if you're new to the format (and often even when you're experienced).
Thatβs why we built the reference documentation that we wished we had when we were starting out. It's a comprehensive guide to the OpenAPI format, with examples, explanations, and links to the relevant sections of the OpenAPI specification.
And even better, it's AI-enabled! Ask any OpenAPI question, and the reference guide will get you sorted out.
Check out the full reference here
π’ Improvements and Bug Fixes π
NOTE
Based on most recent CLI version: Speakeasy v1.231.0 (opens in a new tab)
π’ Offer sample OpenAPI Document during quickstart
π’ Make example generation much, much faster
π’ Generate code samples in speakeasy run
π’ New CLI command: speakeasy openapi diff
π’ Validate gen.yaml
during speakeasy run
TypeScript
π Fix hoisting operation security and TypeScript basic auth support
Java
π’ Add wait
, notify
, notifyAll
, clone
as reserved words
Python
π’ Add support for additional metadata url
Terraform
π’ Capability to wrap classes and unions
π’ Mix wrapped with non-wrapped resources in a multi-operation terraform resource
π Read data sources during multiple read requests dropping unnecessary attributes
C#
π’ Introduce conventional namespaces into C# & Unity