-
We’ll use the OpenAI API, which most developers are now familiar with: the OpenAI API. This API already has an SDK, so we know it works. We’ll create two Node.js SDKs based on the OpenAI OpenAPI specification, trying to understand what it takes for each SDK generator to go from spec to alpha to 1.0.0.
-
Civic Auth
Auth in Less Than 5 Minutes. Civic Auth comes with multiple SSO options, optional embedded wallets, and user management — all implemented with just a few lines of code. Start building today.
-
While Speakeasy also includes unit tests, they're organized at the root of the /tests directory with less granular separation. Its approach emphasizes documentation and type definitions, with extensive model documentation in /docs/models/. The SDK uses runtime validation through zod, which requires developers to carefully handle error objects when the API returns invalid data. This creates a different balance between compile-time and runtime type safety.
-
Here, we’re testing two SDK generators: Stainless and Speakeasy. We’ll follow a realistic workflow for a developer trying to create their own SDK:
-
We’ll use the OpenAI API, which most developers are now familiar with: the OpenAI API. This API already has an SDK, so we know it works. We’ll create two Node.js SDKs based on the OpenAI OpenAPI specification, trying to understand what it takes for each SDK generator to go from spec to alpha to 1.0.0.