SaaSHub helps you find the best software and product alternatives 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
Flask Tutorial: https://palletsprojects.com/p/flask/ FastAPI Tutorial: https://github.com/tiangolo/full-stack-fastapi-template Django REST Framework Tutorial: https://www.django-rest-framework.org/tutorial/quickstart/ Nginx Configuration Guide: https://docs.nginx.com/nginx/admin-guide/web-server/web-server/ Confluent Kafka Python Client: https://docs.confluent.io/platform/current/clients/api-docs/confluent-kafka-python.html Remember: This is a high-level overview. Each step involves further research and configuration based on your specific requirements.
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.
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: Wikimedia Enterprise – APIs for LLMs, AI Training, and More | news.ycombinator.com | 2024-05-22I'm reading the API docs https://enterprise.wikimedia.com/docs/
And they don't have an OpenAPI spec available to download? So they seriously expect developers to just manually write their own client code by reading and translating those example CURL commands by hand??!
Seriously it's 2024! Not having an spec to download and insepct for any API is a sign of incompetence. When tools like Postman or [openapi-generator-cli](https://github.com/OpenAPITools/openapi-generator-cli) exist and save hours of time, you can't seriously expect devs to write all this connecting code by hand anymore.
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.
different tool for different aspect.
using OPENAPI, rpc, GQL types in client, etc to share typing (schema) information between client/server
resolver/dataloader in GQL, eager join in ORM is to handler internal data composition
presenter layer should not care about data composition, so that writing Query at presenter is an anti-pattern.
presenter should fetch schema info & data passively, like what https://github.com/hey-api/openapi-ts did, the job of implementation belongs to backend.
In fact what rest/rpc really need is the resolver and dataloader, to help backend easily extend or composing data together, and immediately transferring the schema & data to clients.
pydantic-resolve is the python binding for this idea.
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
-
TypeSpec – Describe APIs
-
Why, after 6 years, I'm over GraphQL
-
Wikimedia Enterprise – APIs for LLMs, AI Training, and More
-
What makes a good REST API?
-
The Stainless SDK Generator
-
Write OpenAPI with TypeSpec
-
Best Software Documentation Tools
-
A note from our sponsor - SaaSHub
www.saashub.com | 2 Jun 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,673 |
2 | redoc | 22,722 |
3 | mockoon | 5,967 |
4 | openapi-typescript | 4,761 |
5 | prism | 4,051 |
6 | openapi-devtools | 3,818 |
7 | typespec | 3,435 |
8 | spectral | 2,292 |
9 | elements | 1,561 |
10 | openapi-generator-cli | 1,313 |
11 | Optic | 1,300 |
12 | express-openapi-validator | 872 |
13 | redocly-cli | 834 |
14 | zod-to-openapi | 745 |
15 | spot | 537 |
16 | docusaurus-openapi | 476 |
17 | oazapfts | 469 |
18 | openapi-codegen | 452 |
19 | typeconv | 399 |
20 | openapi-ts | 420 |
21 | routing-controllers-openapi | 301 |
22 | itty-router-openapi | 230 |
23 | openapi-typescript-code-generator | 188 |
Sponsored