The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →
Top 23 TypeScript Openapi3 Projects
-
full-stack-fastapi-template
Full stack, modern web application template. Using FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS and more.
-
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.
-
mockoon
Mockoon is the easiest and quickest way to run mock APIs locally. No remote deployment, no account required, open source.
-
prism
Turn any OpenAPI2/3 and Postman Collection file into an API server with mocking, transformations and validations. (by stoplightio)
-
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.
-
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.
-
elements
Build beautiful, interactive API Docs with embeddable React or Web Components, powered by OpenAPI and Markdown. (by stoplightio)
-
Optic
OpenAPI linting, diffing and testing. Optic helps prevent breaking changes, publish accurate documentation and improve the design of your APIs.
-
express-openapi-validator
🦋 Auto-validates api requests, responses, and securities using ExpressJS and an OpenAPI 3.x specification
-
redocly-cli
⚒️ Redocly CLI makes OpenAPI easy. Lint/validate to any standard, generate beautiful docs, and more.
-
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.
Project mention: Building a Secure API with FastAPI, PostgreSQL, and Hanko Authentication | dev.to | 2023-10-30This project is a modification of the authentication flow of the awesome repository made by tiangolo at full-stack-fastapi-postgresql
ReDoc Interactive Demo
Mockoon - Used as a logging server instead of using print in the console.
OpenAPI TypeScript
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.
It does not exist, but it will be worked on fairly soon. You can track progress on GitHub [1]. It will be as you suggest - a one time conversion, after which you can iterate. We have this workflow for inside Azure, but the converter is Azure-specific (e.g. converts to TypeSpec that uses our extensive Azure-specific component library). It will take a bit to generalize.
Project mention: Scalar: An open-source alternative to Redocly and Swagger UI | news.ycombinator.com | 2023-10-13Looks like a similar solution to https://github.com/stoplightio/elements - will give this a whirl some time!
Project mention: Show HN: LintGPT – Write API Style Guides in Natural Language | news.ycombinator.com | 2023-10-25- Minimizing API calls. The first time you run LintGPT it is pretty slow because it has to run every rule across every part of the API specification (1000s of calls). But we shouldn’t have to repeat that work. Most of the time parameters, properties, etc don’t change and neither do the rules. We’re building caching into our web app to make this fast / save $ for end users.
Happy to answer any questions. I really think there’s a huge use case here for linting all kinds of code, config, database schemas, policies in ways that were never possible before. And personally, I like the idea of having these smart tools guiding me towards making my work better vs generating it all for me — idk something about that just feels good.
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:
Project mention: A library that generates OpenAPI (Swagger) docs from Zod schemas | news.ycombinator.com | 2023-10-26
Project mention: Scalar: An open-source alternative to Redocly and Swagger UI | news.ycombinator.com | 2023-10-13I like your project. Glad to see alternatives to this https://docusaurus-openapi.netlify.app/
I prefer to write the OpenAPI spec in YAML by hand as the source of truth and use that to auto-generate the appropriate client and server types for whichever languages those are implemented in. For my current project, I use oazapfts to generate TypeScript client types that my frontend uses to talk to the backend.
Project mention: Without saying "it's scalable", convince me that Serverless is worth it | news.ycombinator.com | 2024-01-11In a week, from start to production, I migrated an AWS RDS database to Cloudflare D1 behind an OpenAPI REST interface over HTTPS using itty-router-openapi [1]. This will save me at least $250 pa, plus I no longer need worry about certificates and other server admin, which really adds up.
During the process I never saw an IP address or had to deal with networking, except when connecting to RDS. The attack surface I need to look at is minimal. The only blocker was a wasted day when itty-router pushed an backwards-incompatible change, but otherwise it was very smooth.
I can now implement a new service in about half an hour and have it tested and in production within a few hours.
This really feels like progress.
TypeScript Openapi3 related posts
- Write OpenAPI with TypeSpec
- Best Software Documentation Tools
- How to Automatically Consume RESTful APIs in Your Frontend
- Writing type safe API clients in TypeScript
- OpenAPI-TypeScript – OpenAPI schemas in TypeScript
- A library that generates OpenAPI (Swagger) docs from Zod schemas
- Show HN: Build type-safe web APIs with JavaScript, instantly
-
A note from our sponsor - WorkOS
workos.com | 19 Apr 2024
Index
What are some of the best open-source Openapi3 projects in TypeScript? This list will help you:
Project | Stars | |
---|---|---|
1 | full-stack-fastapi-template | 22,704 |
2 | redoc | 22,462 |
3 | mockoon | 5,844 |
4 | openapi-typescript | 4,530 |
5 | prism | 3,994 |
6 | openapi-devtools | 3,776 |
7 | typespec | 2,347 |
8 | spectral | 2,240 |
9 | elements | 1,480 |
10 | Optic | 1,275 |
11 | openapi-generator-cli | 1,275 |
12 | express-openapi-validator | 862 |
13 | redocly-cli | 805 |
14 | zod-to-openapi | 675 |
15 | spot | 533 |
16 | docusaurus-openapi | 469 |
17 | oazapfts | 458 |
18 | openapi-codegen | 430 |
19 | typeconv | 396 |
20 | routing-controllers-openapi | 301 |
21 | itty-router-openapi | 226 |
22 | OpenAPIValidators | 184 |
23 | openapi-typescript-code-generator | 180 |