This example just tells you how to work with OpenAPI and Mojolicious. What i am trying to find out is a way the swagger file json or yaml to auto generated while running the mojo application.
Other wise advice if you know any other way using a perl framework to work with OpenAPI and auto generate a swagger file