TypeScript Swagger

Open-source TypeScript projects categorized as Swagger

Top 23 TypeScript Swagger Projects

  • nocodb

    🔥 🔥 🔥 Open Source Airtable Alternative

    Project mention: Best apps for transitioning from Spreadsheets to SQLite? | /r/macapps | 2023-05-27

    This morning, I've stumbled upon NocoDB and am excited to give it a spin. This promising find spurred me to reach out to you all for more hidden gems.

  • redoc

    📘 OpenAPI/Swagger-generated API Reference Documentation

    Project mention: How to Connect a FastAPI Server to PostgreSQL and Deploy on GCP Cloud Run | dev.to | 2023-05-26

    Redoc: http://localhost:8080/redoc

  • 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!

  • mockoon

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

    Project mention: Please recommend a good API Mocking tool | /r/node | 2023-05-16

    I recommend Mockoon https://mockoon.com/ it’s simple like Postman without create mock api server with code

  • loopback-next

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

    Project mention: 12+ Best Node.js Frameworks for Web App Development in 2022 | dev.to | 2022-08-15

    Github repo: https://github.com/loopbackio/loopback-next License: MIT Github stars: 4200

  • autorest

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

    Project mention: How to auto generate automation code for existing apis? | /r/golang | 2022-12-15

    Doesn't autorest do that? https://github.com/Azure/autorest

  • prism

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

    Project mention: Please recommend a good API Mocking tool | /r/node | 2023-05-16

    Haven't tried it yet, but discovered https://microcks.io/ yesterday. Otherwise https://stoplight.io/open-source/prism is pretty good

  • openapi-typescript

    Generate TypeScript types from OpenAPI 3 specs

    Project mention: How can I generate typescript types? | /r/node | 2023-06-04

    If you're willing to document your API with an OpenAPI schema, then it should be possible to generate TypeScript types based on the OpenAPI schema with something like openapi-typescript. Also, Typebox can generate JSON schemas, maybe it can be used to generate something that the front-end can also use?

  • Klotho

    AWS Cloud-aware infrastructure-from-code toolbox [NEW]. Build cloud backends with Infrastructure-from-Code (IfC), a revolutionary technique for generating and updating cloud infrastructure. Try IfC with AWS and Klotho now (Now open-source)

  • graphql-mesh

    GraphQL Mesh — Query anything, run anywhere

    Project mention: LlamaAcademy: Teach GPTs to understand API documentation with LoRA | news.ycombinator.com | 2023-04-19

    I played with building out a graphql mesh [0] of a few different APIs as I was curious to see if I could build one schema (and subsets of it) and have GPT interface over that. Turns out, it did a pretty good job if you can provide it the right portions of the schema it needs.

    It also helped out when I was struggling to reconcile with how large of JSON payloads I was getting. The REST endpoints are just killing the prompt size, but having the model choose the fields it needed from GraphQL really helped out there.

    Put it down for a while until I can get access to the plugin fine-tuned version of chatgpt and see if there's still a need or if it is additive still.

    [0] https://github.com/Urigo/graphql-mesh/

  • Ts.ED

    :triangular_ruler: Ts.ED is a Node.js and TypeScript framework on top of Express to write your application with TypeScript (or ES6). It provides a lot of decorators and guideline to make your code more readable and less error-prone.

    Project mention: Examples of APIs that follows the best practices and are production ready on Github? | /r/node | 2023-03-10
  • typescript-express-starter

    📘 Quick and Easy TypeScript Express Starter

    Project mention: Why is this so hard to do? Help | /r/typescript | 2023-02-19
  • azure-rest-api-specs

    The source for REST API specifications for Microsoft Azure.

    Project mention: Are subscriptions idempotent when deployed via Bicep? I seem to have some issue with them after having success the first time. | /r/AZURE | 2023-03-12
  • swagger-typescript-api

    TypeScript API generator via Swagger scheme

    Project mention: OpenAPI v4 Proposal | news.ycombinator.com | 2023-05-31

    You said it yourself — the “official” generator is awful and very hard to modify or extend (well, you didn’t say that, but I’m saying it) and while there are many alternatives, they’re not always easy to find. I had some success with swagger-typescript-api[1], but eventually got tired of it and wrote my own generator. Despite looking around quite a bit at what’s available, I never heard of openapi-codegen, which looks quite good.

    [1]: https://github.com/acacode/swagger-typescript-api

  • 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
  • openapi-typescript-codegen

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

    Project mention: Is it possible to create a dynamic type/interface from API response | /r/typescript | 2023-01-23

    Second step is to generate typescript types from the backend's spec. You can use a library like this.

  • openapi-to-graphql

    Translate APIs described by OpenAPI Specifications (OAS) into GraphQL

  • orval

    orval is able to generate client with appropriate type-signatures (TypeScript) from any valid OpenAPI v3 or Swagger v2 specification, either in yaml or json formats. 🍺

    Project mention: Ask HN: Why isn't JSON-RPC more widely adopted? | news.ycombinator.com | 2023-01-02

    Personally, find gRPC-Web very attractive but the current state of TypeScript/JS code-gen is very confusing and lacking.

    I would love something like https://orval.dev for gRPC-web. Have I missed something or is it just early to expect it?

    I tried a few libraries but couldn't get them to work or would generate unappealing results. I believe I'm hitting this issue with my local experiments. https://github.com/grpc/grpc-web/issues/535

  • trpc-openapi

    OpenAPI support for tRPC 🧩

    Project mention: [AskTS] What do you think will be the future of runtime type checking? | /r/typescript | 2023-05-28

    In essence, features of the language made for static type checking at compilation are possibly being left favour of tools that act like a superset of the language that provide the static build type checking and offer runtime type checking too. An example I recently saw was the trpc-openapi package which uses Zod for creating the types of the schema for the http request and responses, it takes a zod schema as that is what it can use when compiled to JavaScript to generate the types for the openapi file at runtime, there's scarcely a type or interface in sight when using it but you have full type safety.

  • swagger

    OpenAPI (Swagger) module for Nest framework (node.js) :earth_americas:

    Project mention: Can you tell me what's the difference of using @nestjs/swagger instead of class-validators for DTO validation? thank you | /r/Nestjs_framework | 2022-09-16

    Yeah the API is very similar but they serve different purposes as you mention here. It looks like there's been some discussion about aligning them since other people have had a similar observation.

  • Optic

    Version Control for APIs. Optic makes it easy to document your APIs, prevent breaking changes, and follow an API style-guide

    Project mention: Testing for Breaking Changes in Fastify APIs | dev.to | 2023-05-03

    Recently I was approached by a team that needed help testing their Fastify API for breaking changes. Fastify was making it easy to quickly ship a lot of new functionality, but breaking changes were making it through Code Reviews. They were not finding out the changes were breaking until a consumer emailed them — not good. The developer who reached out saw my work on the Optic project and asked for help.

  • nestjs-boilerplate

    NestJS boilerplate. Auth, TypeORM, Postgres, Mailing, I18N, Docker.

    Project mention: NestJS Boilerplates Comparison | dev.to | 2023-04-11

    It includes all necessary features for auth (sign in, sign up, social sign up, confirm email, forgot password and roles) and file uploading (this allows one endpoint for file uploading and then attach it to any other entity). I decided to have it from the box, because all the projects we started required these features.

  • nestia

    Make NestJS much faster and easier

    Project mention: [Nestia] Make NestJS 30x faster with fastify | dev.to | 2023-05-22

    For reference, you can run the benchmark program on your computer by following below commands. After the benchmark, a report would be issued under nestia/benchmark/results/{YOUR-CPU-NAME} directory. If you send the result PR on my repo (https://github.com/samchon/nestia), I'd pleasure and appreciate it even more.

  • redocly-cli

    ⚒️ Redocly CLI (fka OpenAPI CLI) tools with extensive validation rules to lint your API and bundle your API.

  • portman

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

    Project mention: The Three Steps of Building Design-First APIs in Kubernetes | dev.to | 2022-12-12

    Tools like portman automatically create tests from your OpenAPI definition

  • Sonar

    Write Clean JavaScript Code. Always.. Sonar helps you commit clean code every time. With over 300 unique rules to find JavaScript bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

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 2023-06-04.

TypeScript Swagger related posts


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

Project Stars
1 nocodb 36,277
2 redoc 20,262
3 mockoon 5,135
4 loopback-next 4,541
5 autorest 4,232
6 prism 3,558
7 openapi-typescript 3,038
8 graphql-mesh 2,878
9 Ts.ED 2,510
10 typescript-express-starter 2,137
11 azure-rest-api-specs 2,100
12 swagger-typescript-api 1,999
13 spectral 1,928
14 openapi-typescript-codegen 1,652
15 openapi-to-graphql 1,501
16 orval 1,436
17 trpc-openapi 1,425
18 swagger 1,369
19 Optic 1,142
20 nestjs-boilerplate 1,104
21 nestia 959
22 redocly-cli 583
23 portman 551
Access the most powerful time series database as a service
Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.