TypeScript OpenAPI

Open-source TypeScript projects categorized as OpenAPI | Edit details

Top 23 TypeScript OpenAPI Projects

  • redoc

    📘 OpenAPI/Swagger-generated API Reference Documentation

    Project mention: Modernizing the USPS Developer Experience | dev.to | 2022-04-29

    Redoc is an open-source tool for generating documentation from OpenAPI (fka Swagger) definitions. There is a paid service with more features called Redocly, but for this project we are utilizing the open source redoc-cli tool.

  • API Platform

    Create REST and GraphQL APIs, scaffold Jamstack webapps, stream changes in real-time.

    Project mention: Building a front end for a database | reddit.com/r/SQL | 2022-05-14
  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • loopback-next

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

    Project mention: 10 Best Node.js Framework in 2021 | dev.to | 2021-12-02

    Loopback 4: A framework for building APIs and Microservices GitHub Popularity: 3.9K Stars

  • mockoon

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

    Project mention: What servers / programs can I use to test REST or SOAP programming against? | reddit.com/r/linux | 2022-02-17

    I use Mockoon for this sort of thing locally, but it also looks like it supports running on a remote server/headless environment.

  • autorest

    OpenAPI (f.k.a Swagger) Specification code generator. Supports C#, PowerShell, Go, Java, Node.js, TypeScript, Python

    Project mention: i learned the basics of how to create and use the MS Graph API. here's my notes | reddit.com/r/PowerShell | 2022-04-07

    It is definitely created with AutoRest. That's both its strength and its greatest weakness. :(

  • prism

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

    Project mention: Dealing with backend developers | reddit.com/r/Frontend | 2022-01-21

    Having the API documentation in a standard format also makes it possible to for you to spawn mock servers directly from the specification using tools such as Stoplight's prism.

  • graphql-mesh

    GraphQL Mesh — Query anything, run anywhere

    Project mention: Show HN: M3O – Universal Public API Interface | news.ycombinator.com | 2022-04-25
  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • azure-rest-api-specs

    The source for REST API specifications for Microsoft Azure.

    Project mention: Azure Bicep - How do I know what property values are valid? | reddit.com/r/AZURE | 2021-07-23

    I feel your pain, a good resource for me has been the REST API specs - https://github.com/Azure/azure-rest-api-specs/tree/master/specification

  • spectral

    A flexible JSON/YAML linter for creating automated style guides, with baked in support for OpenAPI v2 & v3.

    Project mention: How to check if paths are lowercase characters with Spectral | dev.to | 2022-04-26

    In this post, I show how to use Spectral to check if only lowercase alphanumeric characters are used in the keys of OpenAPI paths.

  • Optic

    Track and review API changes as a team

    Project mention: What is OpenAPI? | dev.to | 2022-01-18


  • openapi-typescript-codegen

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

    Project mention: Don't make me think, or why I switched to Rails from JavaScript SPAs | news.ycombinator.com | 2022-02-04

    I'm currently working on two separate projects, the first is a Django project with DRF and I codegen with drf-spectacular [1] and openapi-typescript-codegen [2]. The other project also uses Django, with the API through Hasura and codegen with graphql-codegen [3]. In both of these cases I've been able to largely avoid duplicating my models clientside, or at least it isn't manual.

    1: https://github.com/ferdikoomen/openapi-typescript-codegen

    2: https://drf-spectacular.readthedocs.io/en/latest/

    3: https://github.com/dotansimha/graphql-code-generator

  • express-openapi-validator

    🦋 Auto-validates api requests, responses, and securities using ExpressJS and an OpenAPI 3.x specification

    Project mention: Automatically validate requests, responses, and auth with OpenAPI 3 and ExpressJS | reddit.com/r/node | 2022-03-15
  • openapi-generator-cli

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

  • elements

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

    Project mention: OpenAPI 打通前後端任督二脈 | dev.to | 2021-12-14

    Stoplight Elements 🆓 / Stoplight

  • portman

    Port OpenAPI Specs to Postman Collections, inject test suite and run via Newman 👨🏽‍🚀

    Project mention: Add Authentication to Portman API tests | dev.to | 2022-03-24

    Portman documentation

  • spot

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

    Project mention: Show /r/rust: a Rust implementation of the Realworld demo app spec using Axum and SQLx, written by a co-author of SQLx. | reddit.com/r/rust | 2022-01-31

    That's obviously not a great situation, so I've started experimenting with airtasker/spot which uses a Typescript-based DSL to generate OpenAPI specs. It's a decent stopgap, although I would love it if we could adapt something like this to Rust using doc-comments and attributes or something so the documentation can live in the code itself.

  • redocly-cli

    ⚒️ Redocly CLI (fka OpenAPI CLI) toolbox with rich validation and bundling features.

    Project mention: Generating docs from OpenAPI Spec | dev.to | 2022-04-26

    In order to use Redocusaurus, I needed a single spec file. Both Swagger cli and OpenApi cli offered an option to merge separate specs into one. The problem was that one of them required a "root spec file" to drive the merging and the other required extra information to resolve conflicts. My specs had neither.

  • openapi-backend

    Build, Validate, Route, Authenticate and Mock using OpenAPI

    Project mention: How to create custom response message using nodejs (express, typescript)? | reddit.com/r/node | 2022-04-27

    I‘ve done something similar, due to the way openapi-backend handles validation.

  • openapi-cop

    A proxy that validates responses and requests against an OpenAPI document.

    Project mention: Testing in production: using JSON Schema for 3rd party API response validation | news.ycombinator.com | 2021-08-08

    Json schema validation is cpu expensive in nodejs, so you do not want it in production for every request. We made a proxy [1] that only allows requests that are conform to the swagger json which is easy to hook between frontend and backend in dev-mode

    [1] https://github.com/EXXETA/openapi-cop

  • openapi-client-axios

    JavaScript client library for consuming OpenAPI-enabled APIs with axios

  • routing-controllers-openapi

    Runtime OpenAPI v3 schema generation for routing-controllers.

  • oazapfts

    Generate TypeScript clients to tap into OpenAPI servers

    Project mention: Redux Toolkit 1.6.0 - new RTK Query data caching API! | reddit.com/r/reactjs | 2021-06-07

    Looks like my error is from `oazapfts` and already reported: https://github.com/cellular/oazapfts/issues/51

  • docusaurus-openapi

    🦕 OpenAPI plugin for generating API reference docs in Docusaurus v2.

    Project mention: What would you like to see Stripe improve on iOS? | reddit.com/r/iOSProgramming | 2022-01-18

    I think they use this openapi plugin: https://github.com/cloud-annotations/docusaurus-openapi

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). The latest post mention was on 2022-05-14.

TypeScript OpenAPI related posts


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

Project Stars
1 redoc 17,259
2 API Platform 7,432
3 loopback-next 4,148
4 mockoon 3,836
5 autorest 3,785
6 prism 2,850
7 graphql-mesh 2,418
8 azure-rest-api-specs 1,593
9 spectral 1,443
10 Optic 977
11 openapi-typescript-codegen 790
12 express-openapi-validator 638
13 openapi-generator-cli 626
14 elements 503
15 portman 424
16 spot 378
17 redocly-cli 377
18 openapi-backend 356
19 openapi-cop 353
20 openapi-client-axios 284
21 routing-controllers-openapi 242
22 oazapfts 241
23 docusaurus-openapi 192
Find remote jobs at our new job board 99remotejobs.com. There are 8 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Less time debugging, more time building
Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.