Changelog: Integrate with Your Favorite Docs Provider!
New features to the Speakeasy Platform - April 16, 2024
As we roll into summer, the days are getting longer but your APIsβ time to 200
will be getting shorter thanks to our new integration with API documentation providers! More on this exciting new feature below, as well as the regular deluge of updates to our code generator!
Letβs get into it π
SDK Docs Integration
Production integration involves a lot more than just making an HTTP request. So why does your API reference have a generic fetch
call? Authentication, error handling, pagination parsing, request retries, all need to be considered.
Thankfully, SDKs abstract a lot of these concerns for users, making it possible to provide a code snippet that is both concise and useful to your users. And with our new docs integration, itβs now possible to automatically update your SDK code snippets with every new version of your SDKs!
Building a production-ready integration is as easy as βC, βV.
Head to our docs to start integrating SDKs into your docs!
π’ Improvements and Bug Fixes π
NOTE
Based on the most recent CLI version: Speakeasy v1.253.3 (opens in a new tab)
The Platform
π’ Speed up validation runs by skipping name resolution
π’ Global parameters can now be hidden from method signatures by configuring maxMethodParams
with extensions
π’ Support for flattened globals
π’ deprecated
OpenAPI keyword now respected for globals
Terraform
π’ Always instantiate arrays to empty slices to avoid null
being sent over the wire
π’ Capability to generate resource state upgraders
π’ Custom set validators, bump terraform-plugin-framework
to 1.7.0 with custom dependencies
π’ Set types in Terraform, x-speakeasy-xor-with
/ x-speakeasy-required-with
validators
π Fix: extensions being ignored when under an allOf
π Fix Terraform support in quickstart
command
π Fix: only hoist union subtypes that are primitive to avoid a provider error
C#
π’ Support multi-level package naming and non-camel case namespaces
Python
π’ Bump pylint version to 3.1.0
in Python
π’ Better additionalDeps
validation in your gen.yaml
file