in reply to Re: Mojolicious generate a swagger file
in thread Mojolicious generate a swagger file

Take a look at https://mojolicious.io/blog/2017/12/22/day-22-how-to-build-a-public-rest-api/.

  • Comment on Re^2: Mojolicious generate a swagger file

Replies are listed 'Best First'.
Re^3: Mojolicious generate a swagger file
by pgonis (Novice) on Jan 07, 2021 at 08:15 UTC
    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

      The post I replied to asked "I'm actually curious myself if anyone's got more experience with that module.", I understand it doesn't do what you are asking, but isn't what they asked. You could look at porting Dancer::Plugin::Swagger to Mojo.