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. 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)
-
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.
-
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.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
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: Generate API documentation
Mockoon - Used as a logging server instead of using print in the console.
Project mention: TypeSpec: A New Language for API-Centric Development | news.ycombinator.com | 2024-04-29
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.
[1]: https://github.com/microsoft/typespec/issues/3038
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.
[0] https://github.com/opticdev/optic
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.
openapi-ts: Generate API client for TypeScript
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.
[1] https://github.com/cloudflare/itty-router-openapi
TypeScript Openapi3 related posts
-
What makes a good REST API?
-
The Stainless SDK Generator
-
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 note from our sponsor - SurveyJS
surveyjs.io | 20 May 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 | 23,404 |
2 | redoc | 22,646 |
3 | mockoon | 5,921 |
4 | openapi-typescript | 4,717 |
5 | prism | 4,041 |
6 | openapi-devtools | 3,804 |
7 | typespec | 3,161 |
8 | spectral | 2,272 |
9 | elements | 1,541 |
10 | openapi-generator-cli | 1,308 |
11 | Optic | 1,294 |
12 | express-openapi-validator | 868 |
13 | redocly-cli | 828 |
14 | zod-to-openapi | 726 |
15 | spot | 537 |
16 | docusaurus-openapi | 473 |
17 | oazapfts | 465 |
18 | openapi-codegen | 446 |
19 | typeconv | 397 |
20 | openapi-ts | 351 |
21 | routing-controllers-openapi | 301 |
22 | itty-router-openapi | 232 |
23 | openapi-typescript-code-generator | 188 |
Sponsored