Installation
An OpenApi validator for ExpressJS that automatically validates API requests and responses using an OpenAPI 3 specification.
Install
with npm
with yarn
OpenAPI 3.1 (support) alpha
Replace
Upgrading from 3.x
Note
In v4.x.x, the validator is installed as standard connect middleware using app.use(...) and/or router.use(...)
(example). This differs from the v3.x.x the installation which required the install
method(s). The install
methods no longer exist in v4.