TypeScript Openapi3

Open-source TypeScript projects categorized as Openapi3

Top 23 TypeScript Openapi3 Projects

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

  2. 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
  3. 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
  4. openapi-typescript

    Generate TypeScript types from OpenAPI 3 specs

    Project mention: Zod 4 | news.ycombinator.com | 2025-05-19

    OpenAPI TypeScript is the closest thing I’ve found to perfection when your API is written in a different language than your client.

    https://openapi-ts.dev/

  5. prism

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

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

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

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

  9. 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
  10. 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
  11. 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.

  12. Optic

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

  13. zod-to-openapi

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

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

  15. express-openapi-validator

    πŸ¦‹ Auto-validates api requests, responses, and securities using ExpressJS and an OpenAPI 3.1.x or 3.0.x specification

    Project mention: Create a Node.js REST API with an OpenAPI description in minutes | dev.to | 2025-05-09

    @apexjs-org/openapi is an OpenAPI 3.1+ description library for TypeScript. You can use this package to easily create a type-safe OpenAPI (Swagger) description with Zod schema support in Node.js. In this tutorial, we use express-openapi-validator to bring the OpenAPI description to life with automatic validation and request handling.

  16. openapi-codegen

    A tool for generating code base on an OpenAPI schema.

  17. spot

    Spot is a concise, developer-friendly way to describe your API contract. (by airtasker)

  18. docusaurus-openapi

    πŸ¦• OpenAPI plugin for generating API reference docs in Docusaurus.

  19. oazapfts

    Generate TypeScript clients to tap into OpenAPI servers

  20. chanfana

    OpenAPI 3 and 3.1 schema generator and validator for Hono, itty-router and more!

  21. typeconv

    Convert between JSON Schema, TypeScript, GraphQL, Open API and SureType

  22. zod-openapi

    Use Zod Schemas to create OpenAPI v3.x documentation

    Project mention: Analyzing the OpenAPI Tooling Ecosystem | news.ycombinator.com | 2024-09-21

    You might like zod-openapi (https://github.com/samchungy/zod-openapi). You write Zod schemas which, on their own, are a great way to define a validation and de/serialization layer in your API and you then can additionally use them to generate an OpenAPI doc.

  23. routing-controllers-openapi

    Runtime OpenAPI v3 schema generation for routing-controllers.

  24. openapi-typescript-code-generator

    TypeScript code generator via OpenAPI scheme.

  25. OpenAPIValidators

    Use Jest or Chai to assert that HTTP responses satisfy an OpenAPI spec

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub 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 Openapi3 discussion

Log in or Post with

TypeScript Openapi3 related posts

  • Create a Node.js REST API with an OpenAPI description in minutes

    3 projects | dev.to | 9 May 2025
  • openapi-fetch-gen – Generate TypeScript API client from OpenAPI TypeScript interface definitions created by openapi-typescript

    2 projects | dev.to | 20 Apr 2025
  • Creating an API style guide

    3 projects | dev.to | 6 Apr 2025
  • Show HN: Generate API specifications for any API locally with no effort

    1 project | news.ycombinator.com | 13 Mar 2025
  • Show HN: Borea: generate typesafe SDKs from OpenAPI

    2 projects | news.ycombinator.com | 7 Mar 2025
  • How To Make API Governance Easier

    2 projects | dev.to | 19 Dec 2024
  • Microsoft TypeSpec

    4 projects | news.ycombinator.com | 20 Sep 2024
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 20 May 2025
    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. Learn more β†’

Index

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

# Project Stars
1 redoc 24,434
2 mockoon 7,117
3 openapi-typescript 6,860
4 prism 4,552
5 openapi-devtools 4,199
6 spectral 2,731
7 openapi-ts 2,491
8 elements 2,045
9 openapi-generator-cli 1,636
10 Optic 1,445
11 zod-to-openapi 1,199
12 redocly-cli 1,154
13 express-openapi-validator 957
14 openapi-codegen 569
15 spot 565
16 docusaurus-openapi 528
17 oazapfts 528
18 chanfana 522
19 typeconv 434
20 zod-openapi 415
21 routing-controllers-openapi 316
22 openapi-typescript-code-generator 199
23 OpenAPIValidators 193

Sponsored
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.io

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