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. Learn more →
Zod-to-openapi Alternatives
Similar projects and alternatives to zod-to-openapi
-
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.
-
connexion
Connexion is a modern Python web framework that makes spec-first and api-first development easy.
-
msgpack-javascript
@msgpack/msgpack - MessagePack for JavaScript / msgpack.org[JavaScript/TypeScript/ECMA-262]
-
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.
-
FastAPI
Easily create robust, standardized API endpoints using lightning-fast database queries (by thestorefront)
zod-to-openapi reviews and mentions
- A library that generates OpenAPI (Swagger) docs from Zod schemas
-
Show HN: Build type-safe web APIs with JavaScript, instantly
And if you like Zod, you might as well use this: https://github.com/asteasolutions/zod-to-openapi
It converts Zod types to OpenAPI specification.
-
Show HN: REST Alternative to GraphQL and tRPC
Strong disagree.
The barrier you presume is that OpenAPI specs are hard to write. Raw oAPI in yaml is indeed a pain, but there are good DSL's out there.
I personally love Zod->OpenAPI, via https://ts-rest.com which uses https://www.npmjs.com/package/@anatine/zod-openapi. https://github.com/asteasolutions/zod-to-openapi is another alternative for Zod.
> The big bonus of the human documentation approaches today is that time is somewhat combined with building the client.
This is wild to me; human documentation is absurdly error-prone and it's almost always and immediately out of date. (Zod or other DSL) -> OpenAPI -> generated docs (and types! and clients! and mocks!) are always going to be better; always accurate, and faster. The upfront cost is slightly higher, but the ROI is _significant_.
OpenAPI specs lend themselves to excellent docs, ala Mintify or Docusaurus. Even interactive ones, like Swagger UI. The vast majority of API browsers & tooling understands OAPI, so why re-create (an often incomplete) version of the truth when using those tools?
> Whatever is overall fastest and gets me on to the problems I'm really trying to solve.
You may start (slightly) faster, but you'll incur significant cost when you move past the "trivial implementation" stage.
For instance:
-
A note from our sponsor - InfluxDB
www.influxdata.com | 2 May 2024
Stats
asteasolutions/zod-to-openapi is an open source project licensed under MIT License which is an OSI approved license.
The primary programming language of zod-to-openapi is TypeScript.
Popular Comparisons
Sponsored