Code Generators

API Builder generates high-quality client libraries and server stubs from your API specification. The generated code is designed to be indistinguishable from hand-written code — minimal dependencies, single-file output, and readable enough to review like any other PR.

Design Principles

  • Minimal dependencies — Client libraries use native framework dependencies where possible. When not, we use the most standard options available.
  • Readable output — Every generator starts as a hand-written client that we then automate. The goal is generated code you'd be proud to commit.
  • Single file — Download one fully contained, fully functional file. Drop it into your project or package it as a library.

Available Generators

S Scala

Older Scala versions

K Kotlin & Android

J Java & Spring

T TypeScript & JavaScript

G GraphQL

+ More Languages

Infrastructure & Schema

Resources

Want to build your own generator?

Generators are REST services that accept a service description and return a string. It's that simple.

View Generator Source