Automating request validation with OpenAPI & Express Gateway

0 - Setup

Express Gateway is an API gateway that can easily be extended using JavaScript plugins.

In this recipe, we will use a generic plugin to validate every request with the OpenAPI Specification provided by the ReST API behind the gateway.

If you don't already have a running setup of Express Gateway, you can retrieve a working copy here on the proxy branch of our farmicode-gateway repository.