Rate limit implementation in plumber API

I want to implement rate limit for the plumber API. There are lot resources online describing how to implement it in a general way. Is there a resource/example which demonstrates how to implement it for R Plumber API and/or with Swagger?