Skip to main content

Full stack typesafe API-first development for REST.

OpenAPI Stack is a collection of open source libraries and tools for full stack Typescript development inspired by modern alternatives like GraphQL and tRPC. Compare

openapistack

Used by teams at

epilot logoPennylane logoMicrosoft logoIBM logoSAP logoVisma logoGitHub logoAWS logoRed Hat logoNotion logoPrisma logoIntel Geti logoFastly logoConductor logoParabola logoKong logoZitadel logoQdrant logoStackBlitz logoDrupal logoFumadocs logoEtherpad logoMojaloop logoWSO2 logoMender logoHolochain logoKlavis AI logoAnytype logoAgnesoft logoEXXETA logoDigital Asset logoOpetushallitus logoCity of Helsingborg logoGovernment of British Columbia logoPolis logo

the stack

Three libraries. One ecosystem.

Free and open-source, MIT-licensed, framework-agnostic. Pick any one or use them together.

Backend

openapi-backend

Build, validate, route, authenticate and mock your backend using the openapi-backend library. Framework-agnostic, runs on Express, Hapi, Koa, AWS Lambda and more.

Read the docs

Client

openapi-client-axios

Easily consume your OpenAPI specification using the typesafe openapi-client-axios library. Full TypeScript IntelliSense, runtime introspection, no codegen required.

Read the docs

CLI

openapicmd

Generate types, design and test your API using the openapicmd command line tool. Bundle, lint, mock and serve OpenAPI specs from one binary.

Read the docs

Interactive Example

This is a minimal full-stack React application using openapi-stack and Next.js.

Loading sandbox...