zod-express-middleware
express-openapi-validator
Our great sponsors
zod-express-middleware | express-openapi-validator | |
---|---|---|
1 | 6 | |
72 | 862 | |
- | - | |
2.6 | 8.0 | |
almost 3 years ago | 27 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
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.
zod-express-middleware
-
express-ts
Just in case you're the developer, what's the benefit over something simpler like https://github.com/Aquila169/zod-express-middleware?
express-openapi-validator
-
NodeJS API Documentation
The build step is where I put all of them together, which is the messy and tricky part. Although not directly related to your question, I also use this validation tool to handle request validation based on my result yml.
-
A minimalist backend REST API in NodeJS
express-openapi-validator Express middleware that routes and validates requests according to an OpenAPI spec.
- Automatically validate requests, responses, and auth with OpenAPI 3 and ExpressJS
-
Adding request and response validation to your Express REST API
The express-openapi-validator package addresses this issue by validating requests and responses based on a provided OpenAPI spec. Having our responses validated in addition to just the requests will be a good idea as that will ensure the API code always responds in the expected schema.
- koa-openapi-validator: automatically validate requests with koa and openapi 3 (beta prerelease)
- New year new features: Automatically validate requests, responses with OpenAPI 3 and ExpressJS
What are some alternatives?
express-jwt-authentication - Simple and lightweight Express middleware written in TypeScript to easily handle user authentication with JWT.
swagger-jsdoc - Generates swagger/openapi specification based on jsDoc comments and YAML files.
resolvers - 📋 Validation resolvers: Yup, Zod, AJV, Joi, Superstruct, Vest, class-validator, io-ts, typanion, Ajv, TypeBox, Valibot and nope.
redoc - 📘 OpenAPI/Swagger-generated API Reference Documentation
slonik-trpc - Type-safe efficient query API engine using slonik and zod
mockoon - Mockoon is the easiest and quickest way to run mock APIs locally. No remote deployment, no account required, open source.
Fleet-of-the-Faithful-Knights - Monorepo for the Fleet of the Faithful Knights
routing-controllers-openapi - Runtime OpenAPI v3 schema generation for routing-controllers.
nodebestpractices - :white_check_mark: The Node.js best practices list (February 2024)
generator-express-no-stress - 🚂 A Yeoman generator for Express.js based 12-factor apps and apis
auto-bot - Discord Bot for Astro STEM Labs Discord server. Hosted on REPL.it
mapi-action - 🤖 Run a Mayhem for API scan in GitHub Actions