Any API Definition can make use of plugins. A plugin is a way to add functionalities to your definition, like rate limit, CORS, authentication, etc...
In this tutorial we will add a rate limit plugin to our definition.
1. Add the plugin
Let's create a file called rate_limit.json with our new additions to the API definition. We will create a rate limit rule that we can only send 5 req/m just for us to play around with it.