Introducing the API Documentation (Swagger) Plugin

or maybe access the utility used in documentation plugin