express-zod-api
sideko
express-zod-api | sideko | |
---|---|---|
2 | 1 | |
564 | 45 | |
- | - | |
9.8 | 8.2 | |
3 days ago | 21 days ago | |
TypeScript | Rust | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
express-zod-api
- Express-zod-API ā Zod based Node.js framework
-
preferred way to type guard api response body?
Check out this library: https://github.com/RobinTail/express-zod-api
sideko
-
Show HN: Hacker News API SDKs ā Code Generation in Rust
Hi Hacker News!
Patrick and Elias here. We built an SDK / Documentation generator for REST APIs. The link included shows the shiny output of our system: the docs! We generated 5 SDKs and docs from the Hacker News OpenAPI we found on GitHub. If you write code in Python, Typescript, Go, Ruby, or Rust, weād love for you to try an SDK out!
If you want to generate SDKs for your own API try our tool here: https://github.com/Sideko-Inc/sideko
We are both software engineers, and we built this tool because we were spending too much time writing API integrations, supporting integrations, writing documentation, and manually testing APIs at our jobs. We think every engineer can benefit from spending less time on APIs.
The generator is written in Rust because we need the rich type system, macros, and general correctness emphasis to generate working code. The SDKs are typed, they simplify auth, and they handle files.
If you want to learn more, check out our complete write up here: https://sideko.substack.com/p/the-hacker-news-api-enhanced-b...
Thanks everyone,
PK and EP - [email protected]
What are some alternatives?
typematic - What if OpenAPI was defined with typescript ?
go-oas3 - Open API v3 server code generator
surrealdb-client-generator - Tool which generates a typescript client for SurrealDB and zod schema of a given database
openapi-generator - OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
nestjs-graphql-zod - A library providing dynamic GraphQL object classes from their zod validation objects.
actix-swagger - Swagger code generator for actix-web framework
znv - Type-safe environment parsing and validation for Node.js with Zod schemas
sc-api-rs - Stalcraft API implementation in Rust
docker-express-postgres-boilerplate - :zap: A simple boilerplate with Docker, Express, PostgreSQL and authentication
utoipa - Simple, Fast, Code first and Compile time generated OpenAPI documentation for Rust
typeschema - šµ Universal adapter for TypeScript schema validation.
springdoc-openapi - Library for OpenAPI 3 with spring-boot