TypeScript OpenAPI

Open-source TypeScript projects categorized as OpenAPI

Top 23 TypeScript OpenAPI Projects

  • full-stack-fastapi-template

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

  • Project mention: Building a Secure API with FastAPI, PostgreSQL, and Hanko Authentication | dev.to | 2023-10-30

    This project is a modification of the authentication flow of the awesome repository made by tiangolo at full-stack-fastapi-postgresql

  • redoc

    📘 OpenAPI/Swagger-generated API Reference Documentation

  • Project mention: Best Software Documentation Tools | dev.to | 2024-02-05

    ReDoc Interactive Demo

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • API Platform

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

  • Project mention: Nginx Unit – Universal web app server | news.ycombinator.com | 2023-09-10
  • mockoon

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

  • Project mention: Handling Firebase Notifications in Flutter: Practical Tips | dev.to | 2024-01-14

    Mockoon - Used as a logging server instead of using print in the console.

  • loopback-next

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

  • openapi-typescript

    Generate TypeScript types from OpenAPI 3 specs

  • Project mention: Writing type safe API clients in TypeScript | dev.to | 2024-01-06

    OpenAPI TypeScript

  • autorest

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

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • prism

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

  • Project mention: How to Automatically Consume RESTful APIs in Your Frontend | dev.to | 2024-01-25

    Since the OpenAPI can effectively describe our resources, we can reuse it to generate a dummy server that can be later used for development and testing purposes without bootstrapping any actual services. There some tools available that can help us with this task, such as Prism, OpenAPI Mock, OpenAPI Backend and the MSW library we have already seen.

  • openapi-devtools

    Browser extension that generates API specs for any app or website

  • Project mention: U.S. National Park Service API | news.ycombinator.com | 2024-01-22
  • scalar

    Beautiful API references from OpenAPI/Swagger files ✨

  • Project mention: Show HN: Nuxt.js OpenAPI / Swagger API Reference Documentation | news.ycombinator.com | 2024-04-20
  • graphql-mesh

    The Graph of Everything - Federated architecture for any API service

  • swagger-typescript-api

    TypeScript API generator via Swagger scheme

  • Project mention: Generative HTTP API Clients | dev.to | 2024-02-05

    RESTful APIs via swagger-typescript-api

  • openapi-typescript-codegen

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

  • Project mention: Django 5.0 Is Released | news.ycombinator.com | 2023-12-04

    I’d also add that if you use Typescript with an OpenAPI client generator (https://github.com/ferdikoomen/openapi-typescript-codegen) it can immensely alleviate some of the biggest pain points of seperate backend and front-end. It always used to be a major pain in the ass with the amount of overhead an API change would incur - updating documentation, postman, constant communication between backend and front-end devs, etc. Now I just npm run generate, I see new API changes in my Git client and Typescript errors for code that needs updating.

    Also, using a library like Tanstack Query or Rdtk Query can almost completely eliminate manual state management, and kinda makes the whole development experience feel almost like SSR.

  • tailchat

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

  • Project mention: Tailchat v1.8.10 has been released | news.ycombinator.com | 2023-08-21
  • azure-rest-api-specs

    The source for REST API specifications for Microsoft Azure.

  • Project mention: Shared APIM Service | /r/AZURE | 2023-12-09

    Agree here. When I was on the API Management team, I generally saw customers set up a repository of API specifications (incidentally, this is also how we do it internally at Microsoft - check it out at https://github.com/azure/azure-rest-api-specs) - those specifications generally drive the API Management side of things, but with review from a centralized API management team. The “spec” should consist of both the specification (Swagger, SOAP, GraphQL SDL, etc.) and the policy or policies appropriate for the API.

  • fern

    🌿 Stripe-level SDKs and Docs for your API

  • Project mention: The Stainless SDK Generator | news.ycombinator.com | 2024-04-24

    Lots of these have been popping up lately, they all seem really good.

    https://buildwithfern.com/

  • spectral

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

  • Project mention: OpenAPI Linter | news.ycombinator.com | 2023-05-25
  • trpc-openapi

    OpenAPI support for tRPC 🧩

  • Project mention: Create Production-Ready SDKs for tRPC | dev.to | 2023-12-01

    tRPC does not natively export OpenAPI documents, but the trpc-openapi package adds this functionality. We'll start this tutorial by adding trpc-openapi to a project, and then we'll add a script to generate an OpenAPI schema and save it as a file.

  • ts-rest

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

  • zenstack

    Typescript toolkit on top of Prisma ORM, offering flexible and declarative Access Control Policy(Authorization/Permission) for RBAC/ABAC/PBAC/ReBAC with auto-generated type-safe APIs and frontend hooks.

  • Project mention: The Many Ways Not to Build an API | dev.to | 2024-04-01

    Another strategy is to model access control declaratively and enforce it in the application layer. ZenStack (built above Prisma ORM) and Hasura are good examples of this approach. The following code shows how access policies are defined with ZenStack and how a secured CRUD API can be derived automatically.

  • zodios

    typescript http client and server with zod validation

  • Project mention: TypeSafe HTTP Fetch Client | /r/typescript | 2023-07-28
  • elements

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

  • Project mention: Scalar: An open-source alternative to Redocly and Swagger UI | news.ycombinator.com | 2023-10-13

    Looks like a similar solution to https://github.com/stoplightio/elements - will give this a whirl some time!

  • openapi-generator-cli

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

  • Project mention: Generate DTO models from OpenAPI bundle yml | /r/golang | 2023-05-19

    Hi, I want to create my dto's from a bundle file. This works nearly good, I just don't need all the functions which I am getting. I only need the model structs. I am currently using https://github.com/OpenAPITools/openapi-generator-cli via docker and I am passing the bundle.yml inside. I have the following parameter to only get model files:

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS 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 related posts

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 22,914
2 redoc 22,462
3 API Platform 8,292
4 mockoon 5,864
5 loopback-next 4,844
6 openapi-typescript 4,556
7 autorest 4,480
8 prism 4,006
9 openapi-devtools 3,785
10 scalar 3,583
11 graphql-mesh 3,165
12 swagger-typescript-api 2,903
13 openapi-typescript-codegen 2,655
14 tailchat 2,499
15 azure-rest-api-specs 2,464
16 fern 2,314
17 spectral 2,245
18 trpc-openapi 1,995
19 ts-rest 1,953
20 zenstack 1,598
21 zodios 1,521
22 elements 1,496
23 openapi-generator-cli 1,281

Sponsored
The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com