README.md

express-validation-swagger

express-validation-swagger optionally uses express-validation to define the rules around API parameters (api payload). express-validation can be configured to validate those rules.

install

install express-validation-swagger

npm install express-validation-swagger

install express-validation

In order to validate your routes and define the parameters and payload for your API, install express-validation. This is optional, and only required if you would like to validate your swagger/express api.

npm install express-validation

install swagger-ui

You will need to install the swagger client; which contains the html pages that support a swagger api swagger-ui