Your connection seems slow.
Please be patient.

OpenAPI / TypeScript
Get started

Code generation on steroids
you've always dreamed of.

AI-friendly, deterministic code generation from OpenAPI, built for schemas of 20 MB and beyond. It supports plugins, offers CLI and UI interfaces, and integrates with IDEs and AI. It supports TypeScript today and can be extended to other languages.

SCROLL TO DISCOVER01 / 08

01 / JSON SCHEMA

Most detailed
JSON Schema support

Codegena resolves related JSON Schema parts together, including string patterns, recursive and circular references, conditions, and anyOf/oneOf/allOf. It follows their dependencies to produce coherent TypeScript, choosing interfaces, named or inline types, and shared declarations where each fits best.

Reveal in documentation
inline-object-composition-patterns.ts
export type InlineObjectCompositionPatterns = Record<  string,  {    isActivated: boolean;    forbiddenProperty?: never;    anotherForbiddenProperty?: never;    description: string;  }> &  Record<    `CORE_PROP_${string}`,    {      name: string;      isActivated?: boolean;      extendedOptions?: Record<string, unknown>;    }  > &  Record<    `EXTENDED_PROP_${string}`,    {      corePropertyRef: string;      isActivated?: boolean;    }  >;
02 / 08

02 / CLI

One CLI for
humans and AI

The CLI gives developers a direct way to generate code. It ships with skills that teach AI assistants when and how to run it, quietly in the background. For large codebases, that means fewer tokens spent on routine work and predictable results.

Reveal in documentation
codegena — terminal
mira@atelier-7 codegena % npx oas3ts convert --schemaFilePath="/Users/mira/projects/codegena/specs/oas3-onepassword-connect.json" -o="./generated" --mode="separateFiles"

┌───────────────────────────────────────────────────────────────────────┐
│                                                                       │
│ Welcome to                                                            │
│        ┐        ┐       ┐        ┐       ┐        ┐   ┐     ┐      ┐  │
│   ┌────┘   ┌───  ┐  ┌──  ┐  ┌────┘  ┌────┘   ┌────┘    ┐    │  ┌──  ┐ │
│   │        │     │  │    │     ┐    │     ┐     ┐    ┌  ┐   │       │ │
│   │        │     │  │    │  ┌──┘    │     │  ┌──┘    │└  ┐  │  ┌──  │ │
│ └      ┐ └      ┌┘      ┌┘       ┐└      ┌┘       ┐  │ └    │  │    │ │
│  └─────┘  └─────┘ └─────┘ └──────┘ └─────┘ └──────┘└─┘  └───┘└─┘  └─┘ │
│                                                  OpenAPI / TypeScript │
│                                                                       │
└───────────────────────────────────────────────────────────────────────┘

WARN: Unable to correctly parse object at components.schemas.Patch.items.properties.value
Used Record<string, unknown> as a fallback.
Encountered at:
/Users/mira/projects/codegena/specs/oas3-onepassword-connect.json:1880:22
  1879 |             },
> 1880 |             "value": {
       |                      ^
  1881 |               "type": "object"

Generated 69 TypeScript file(s) in 0.24s.
03 / 08

03 / FOLDERING

Files organised
by domain

Real-world APIs can yield thousands of declarations: GitHub’s API has more than 5,000. Codegena groups generated files by their names, OpenAPI tags, and relationships between declarations, making the result easier to navigate.

Reveal in documentation
oas3-onepassword-connect.json
  • metrics
  • health
  • files
  • items
  • _common
  • vaults
  • activity
04 / 08

04 / COMPREHENSIVE DATA ENGINE

Graph index by
our own design

Codegena stores generated files, directories, declarations, source locations, and their relationships in its own graph format. This lets the UI search and navigate source specifications and generated output together.

Reveal in documentation
Click to try out the search · Click to try out the search · Click to try out the search · Click to try out the search · Try searching GitHub’s API
05 / 08

05 / IDE PLUGINS

Work in
your IDEIn development!

Codegena’s UI is designed for integration with VS Code and other IDEs. We plan to bring editing, exploration, and collaboration into the tools developers already use.

Reveal in documentation
Soon! · Soon! · Soon! · Soon! · Soon! · Soon! · Soon! · Soon! · Soon! · Soon! · Soon! · Soon! ·
06 / 08

06 / UNIFIED UI

Try the playground
right here

Codegena can run entirely in the browser, without Node.js or a server. The same generation and exploration tools can also be served locally from a terminal, embedded in an IDE, or used online.

Select example:

Simplest pet store
07 / 08

07 / THE IDEOLOGY

Complexity management

In the age of AI, writing code is no longer the main challenge. The harder work is managing complexity and choosing the most efficient way to save human effort while understanding behavior, dependencies, and intent beyond implementation details.

  1. 01

    Spec first

    Use OpenAPI and business-level specifications as a source of truth that people and AI can interpret unambiguously.

  2. 02

    Generate

    Combine AI with established CI/CD automation for predictable, inexpensive results and consistent logic across codebases.

  3. 03

    Extend

    Adapt the output with simple EJS templates or AST-based generators. Tell us if you need Kotlin, Dart, or another language.

  4. 04

    Explore

    Inspect the result through search, graph views, and a virtual file system. IDE integration is planned.

  5. 05

    Collaborate (soon)

    We plan a shared UI for reviews, decisions, and precedent tracking, so AI, stakeholders, and decision makers can work within one auditable process.