Skip to content
All tags

#codegen

5 posts

GraphQL and Code Generator: Type Safety Comes from Schema Plus Operations

A GraphQL schema defines available capabilities; GraphQL Code Generator combines it with actual queries, mutations, and fragments to emit precise results, variables, and typed documents.

openapi-typescript: Turn OpenAPI into Runtime-Free Types and a Fetch Client

openapi-typescript converts OpenAPI 3.0 and 3.1 into pure TypeScript types; openapi-fetch then infers methods, literal paths, parameters, and response unions from that schema.

Protobuf and Buf: Put Cross-Language Schema Linting, Codegen, and Compatibility in CI

Protobuf defines binary messages with stable field numbers; Buf adds modules, linting, remote plugins, generation, and breaking-change checks to govern those schemas.

Speakeasy: Manage Multi-Language SDKs with OpenAPI Overlays and Workflows

Speakeasy records OpenAPI, Overlays, targets, and generator versions in `.speakeasy/workflow.yaml`, enabling local or CI generation, compilation, and publishing of multi-language SDKs.

Stainless: Continuously Generate Publishable Multi-Language SDKs from OpenAPI

Stainless uses OpenAPI plus its configuration to generate multi-language SDKs, docs, CLIs, and MCP servers. Its value is a continuous preview, publishing, and upgrade pipeline rather than one-off codegen.