Developer tools 1 min read 154 words

Google and Speakeasy Open Source OpenAPI Code Generation Suite

Open sourcing aims to reduce platform risks and improve SDK generation.

Google has collaborated with Speakeasy to release the OpenAPI code generation suite as open source under the AGPLv3 license. This move allows developers to generate client libraries in seven programming languages, including Python, TypeScript, Go, Java, C#, PHP, and Ruby. The generator includes features such as static typing, SSE streaming, retries, and pagination, providing robust tools for SDK development.

The decision to open source the suite addresses the risks associated with closed-source tools, highlighted by the sudden shutdown of a proprietary SDK generation provider. By adopting the AGPLv3 license, any modifications to the generator compiler must remain open to the community, ensuring continued access to improvements.

Developers can integrate the Speakeasy generator into their development or CI pipelines while maintaining ownership of their generated code under their chosen license, such as MIT or Apache 2.0. This initiative aims to provide high-quality SDK generation tooling to the broader developer ecosystem, mitigating potential disruptions from proprietary solutions.

Sources

  1. Why client SDK generation belongs in the open Primary Google Developers Blog

Researched and drafted with AI assistance from the primary sources listed above, then checked against those sources before publication. Every factual claim here is traceable to a cited source; where the sources are silent, so are we. How this works.