title: Automatic Validation of Swagger API Request In Express?
body: <p>Excuse me if this question seems obvious, but I am new to Express, Node, and Swagger.</p>
  
  <p>I have written a Swagger specification for an API.  </p>
  
  <p>Are there tools in which you can pass a request to a Swagger documented API along with the Swagger.json file to validate that the required parameters are there, that the enum values for those parameters are correct, etc.?</p>
  
  <p>Something akin to:</p>
  
  <pre><code>validator.validate ("./swagger.json", req, function (req, res, err) {
       if (err) {
         res.status('400').send(err.message());
       }
       else {
         // Call my controller
         swaggerController(req, res);
       }
  });
  </code></pre>
  
  <p>I believe there is, but it's difficult to find or I'm not looking for the correct thing.</p>