cdimascio/express-openapi-validator
🦋 Auto-validates api requests, responses, and securities using ExpressJS and an OpenAPI 3.1.x or 3.0.x specification observed · 2026-09-03
Health v2 · maintenance only
88/100
- Activity 100
- Release rhythm 66
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 6
- age_days: 2724
- days_rel: 226
- days_push: 0
- n_releases_24m: 24
Adoption not part of the score
1005 stars · 238 forks observed · 2026-09-03
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
An Express middleware library that automatically validates API requests, responses, and security against an OpenAPI 3.0.x or 3.1.x specification. It integrates unopinionatedly with new or existing Express apps and can optionally map OpenAPI endpoints to handler functions.
Use cases
- validate express api requests against an openapi spec
- auto-validate api responses with openapi 3
- enforce security schemes on express routes
- validate file uploads in a rest api
- split openapi spec across multiple files with $ref
- add openapi validation to an existing express app
When to choose
- you have an Express 4 or 5 REST API and want spec-driven validation without changing your project structure
- you want request, response, and security validation from a single OpenAPI 3.0/3.1 document
- you need custom formats, serializers, or security handler support
When to avoid
- your API is not built on Express or Connect-compatible middleware
- you need non-JSON response validation
- you use a framework with built-in OpenAPI validation
Facets
library · maturity active
middleware api-framework security serialization web-development backend apis developer-tools openapi express request-validation response-validation rest-api openapi-3 typescript nodejs web-server
1 source
- readme: https://github.com/cdimascio/express-openapi-validator · fetched 2026-09-03 · 0f3b7781cca4
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| cdimascio/express-openapi-validator | main | 88 |
For agents
markdown · JSON · MCP: product_card(name="cdimascio/express-openapi-validator")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem