TypeScript OpenAPI

Open-source TypeScript projects categorized as OpenAPI

Top 23 TypeScript OpenAPI Projects

  1. full-stack-fastapi-template

    Full stack, modern web application template. Using FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS and more.

    Project mention: Crushing the Command Line: How I Used Amazon Q to Build a Smarter FastAPI Scaffolder | dev.to | 2025-05-10

    Existing scaffolding tools like the official FastAPI template often lack production readiness or are too rigid. This tool is built to be both flexible and easy to use.

  2. 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.

    Civic Auth logo
  3. redoc

    πŸ“˜ OpenAPI/Swagger-generated API Reference Documentation

    Project mention: Common Mistakes in RESTful API Design | dev.to | 2025-03-25

    The OpenAPI Specification (formerly Swagger) has become the industry standard for documenting RESTful APIs. Tools like Swagger UI and ReDoc can generate interactive documentation from OpenAPI definitions, reducing the effort to maintain quality documentation.

  4. API Platform

    πŸ•ΈοΈ Create REST and GraphQL APIs, scaffold Jamstack webapps, stream changes in real-time.

    Project mention: API Platform – The API-first framework | news.ycombinator.com | 2025-04-30
  5. mockoon

    Mockoon is the easiest and quickest way to run mock APIs locally. No remote deployment, no account required, open source.

    Project mention: Mockoon is the easiest and quickest way to run mock APIs locally | news.ycombinator.com | 2025-05-06
  6. openapi-typescript

    Generate TypeScript types from OpenAPI 3 specs

    Project mention: openapi-fetch-gen – Generate TypeScript API client from OpenAPI TypeScript interface definitions created by openapi-typescript | dev.to | 2025-04-20

    openapi-ts/openapi-typescript is a powerful tool for generating TypeScript schema definitions from OpenAPI 3 specifications. The same organization also provides openapi-fetch, a type-safe fetch client library designed to work seamlessly with these generated schemas. Although very useful, one notable hurdle with openapi-fetch is that developers must manually implement client code for each API endpoint.

  7. loopback-next

    LoopBack makes it easy to build modern API applications that require complex integrations.

  8. prism

    Turn any OpenAPI2/3 and Postman Collection file into an API server with mocking, transformations and validations. (by stoplightio)

  9. SurveyJS

    JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor. Add the SurveyJS white-label form builder to your JavaScript app (React/Angular/Vue3). Build complex JSON forms without coding. Fully customizable, works with any backend, perfect for data-heavy apps. Learn more.

    SurveyJS logo
  10. openapi-devtools

    Browser extension that generates API specs for any app or website

    Project mention: Automated Documentation for APIs | dev.to | 2025-04-07

    The release is split into two phases. The first has happened and is the release of standalone client-based tools and the algorithm that powers the entire system. These tools let users generate OpenAPI specifications for any API, internal or external. There is a desktop application with a proxy that can easily be toggled to capture network traffic on a local port that then becomes an OpenAPI specification in real time. There is also a browser extension in the spirit of OpenAPI DevTools, and a website that lets users upload HAR files directly. There is also a command line tool.

  11. graphql-mesh

    πŸ•ΈοΈ GraphQL Federation Framework for any API services such as REST, OpenAPI, Swagger, SOAP, gRPC and more...

    Project mention: Effortless Type-Safe GraphQL SDK Generation with GraphQL SDK Generator | dev.to | 2024-09-01

    Whenever the schema changes, simply re-run the generator, and the TypeScript code is updated effortlessly. This significantly improves development efficiency and streamlines SDK maintenance. While there are other tools on the market, such as GraphQL Mesh it comes with many dependencies and boilerplate code you might not need, and the SDK is closely tied to it. In contrast, graphql-sdk-generator gives you full control. Once the code is generated, you're free to modify it as needed, with only the graphql-request dependency required for making requests to your endpoint.

  12. tailchat

    Next generation noIM application in your own workspace, not only another Slack/Discord/Rocket.chat

  13. openapi-typescript-codegen

    NodeJS library that generates Typescript or Javascript clients based on the OpenAPI specification

  14. fern

    Input OpenAPI. Output SDKs and Docs.

    Project mention: Redefining our SDKs Developer Experience | dev.to | 2025-02-18

    After evaluating multiple SDK-as-a-service vendors, including Speakeasy, Fern and Liblab, we selected Speakeasy as our strategic partner. Speakeasy’s philosophy aligns with our mission to deliver an outstanding developer experience. Here’s why we’re excited about this partnership:

  15. ts-rest

    RPC-like client, contract, and server implementation for a pure REST API

  16. spectral

    A flexible JSON/YAML linter for creating automated style guides, with baked in support for OpenAPI (v3.1, v3.0, and v2.0), Arazzo v1.0, as well as AsyncAPI v2.x.

    Project mention: Show HN: FastOpenAPI – automated docs for many Python frameworks | news.ycombinator.com | 2025-03-22

    Are you trying to prune inaccessible types or something?

    I'm not sure what you mean by concise complete subset, but in the past I had good success with custom rules in spectral [0].

    [0] https://github.com/stoplightio/spectral

  17. zenstack

    Fullstack TypeScript toolkit that enhances Prisma ORM with flexible Authorization layer for RBAC/ABAC/PBAC/ReBAC, offering auto-generated type-safe APIs and frontend hooks.

    Project mention: A Principled Approach to Querying Data – A Type-Safe Search DSL (TypeScript) | news.ycombinator.com | 2025-04-24

    It's most probably ZenStack given the description: https://zenstack.dev/

  18. openapi-ts

    πŸš€ The OpenAPI to TypeScript codegen. Generate clients, SDKs, validators, and more. Support: @mrlubos

    Project mention: Streamlining Umbraco Headless Development: Automated Model Generation for Content Delivery API with Orval | dev.to | 2025-04-10

    I chose Hey API as my initial solution for model generation since it's used by Umbraco itself and had been recommended in several developer blogs I follow. Hey API is powerful and rapidly evolving, which is both a blessing and a curse - it offers many features but sometimes it's challenging to keep up with its pace of change.

  19. elements

    Build beautiful, interactive API Docs with embeddable React or Web Components, powered by OpenAPI and Markdown. (by stoplightio)

    Project mention: Interactive API Docs | news.ycombinator.com | 2024-08-01
  20. zodios

    typescript http client and server with zod validation

    Project mention: CVE-2025-29927 – Next.js | news.ycombinator.com | 2025-03-22

    > using the same language on the backend and frontend is underrated feature

    I agree, but you can definitely do this without SSR or Next.JS. Common examples are tRPC, Zodios, or even just plain fetch calls with shared type definitions.

    - https://trpc.io/

    - https://www.zodios.org/

  21. openapi-generator-cli

    A node package wrapper for https://github.com/OpenAPITools/openapi-generator

    Project mention: Generating OpenAPI API clients for Angular | dev.to | 2024-12-26

    Let’s learn how to generate an API client for an Angular project using the open-source OpenAPI Generator program. The OpenAPI Generator project offers a CLI for generating API client modules for multiple language targets by importing a YAML/JSON API specification file.

  22. Optic

    OpenAPI linting, diffing and testing. Optic helps prevent breaking changes, publish accurate documentation and improve the design of your APIs.

  23. zod-to-openapi

    A library that generates OpenAPI (Swagger) docs from Zod schemas

  24. redocly-cli

    βš’οΈ Redocly CLI makes OpenAPI easy. Lint/validate to any standard, generate beautiful docs, and more.

    Project mention: Creating an API style guide | dev.to | 2025-04-06

    I was recently asked for my favorite resources and best practices for writing clear and structured API docs. I've developed my own style for writing API docs, but up until now I haven't published it. Although I've mainly worked with REST APIs, this guidance applies equally to GraphQL and any other APIs. But before I get to writing style, the most important requirement for good API docs is a good API. If you're using REST, validate it with Stoplight. If endpoints are inconsistent in how they handle common parameters, there's no way to write around the problem. This seems to be more of an issue with REST and may account for the move away from REST toward GraphQL. The next thing that you need is static, searchable docs. Don't expect your GraphQL users to find the information they need by browsing your schema in Apollo. Don't expect your REST users to scroll to the bottom of the Swagger UI page to find out how to format data for a given endpoint. If you need a no-budget solution, Redocly CLI and Magidoc are good places to start for REST and GraphQL respectively. Unless you use AWS hosting (which doesn't play nicely with Magidoc's clean URLs). And don't think that you're done when you've published your schema. Developers need workflows, code examples and reference information to understand how they are expected to use your API. Ideally, this information should live in a public developer portal. Your rivals are not going to be able to clone your product by examining your API. And even if they start adding features based on it, you'll always be several steps ahead.

  25. SOFA

    The best way to create REST APIs - Generate RESTful APIs from your GraphQL Server

  26. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

TypeScript OpenAPI discussion

Log in or Post with

TypeScript OpenAPI related posts

  • How to Create Developer-Friendly API Portals

    2 projects | dev.to | 22 Apr 2025
  • openapi-fetch-gen – Generate TypeScript API client from OpenAPI TypeScript interface definitions created by openapi-typescript

    2 projects | dev.to | 20 Apr 2025
  • Improving Cross-Team Collaboration with API Documentation

    1 project | dev.to | 7 Apr 2025
  • Creating an API style guide

    3 projects | dev.to | 6 Apr 2025
  • Custom Scopes in OAuth: Step-by-Step Guide

    1 project | dev.to | 3 Apr 2025
  • OpenAI adds MCP support to Agents SDK

    9 projects | news.ycombinator.com | 26 Mar 2025
  • Common Mistakes in RESTful API Design

    3 projects | dev.to | 25 Mar 2025
  • A note from our sponsor - SurveyJS
    surveyjs.io | 13 May 2025
    Add the SurveyJS white-label form builder to your JavaScript app (React/Angular/Vue3). Build complex JSON forms without coding. Fully customizable, works with any backend, perfect for data-heavy apps. Learn more. Learn more β†’

Index

What are some of the best open-source OpenAPI projects in TypeScript? This list will help you:

# Project Stars
1 full-stack-fastapi-template 32,472
2 redoc 24,403
3 API Platform 8,892
4 mockoon 7,101
5 openapi-typescript 6,826
6 loopback-next 5,011
7 prism 4,547
8 openapi-devtools 4,192
9 graphql-mesh 3,385
10 tailchat 3,242
11 openapi-typescript-codegen 3,183
12 fern 3,037
13 ts-rest 2,783
14 spectral 2,722
15 zenstack 2,479
16 openapi-ts 2,453
17 elements 2,035
18 zodios 1,800
19 openapi-generator-cli 1,626
20 Optic 1,443
21 zod-to-openapi 1,196
22 redocly-cli 1,141
23 SOFA 1,094

Sponsored
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.
www.civic.com

Did you know that TypeScript is
the 1st most popular programming language
based on number of references?