http://qs321.pair.com?node_id=11126431


in reply to Mojolicious generate a swagger file

Haven't used it myself but a quick search finds Mojolicious::Plugin::OpenAPI. I'm actually curious myself if anyone's got more experience with that module.

The cake is a lie.
The cake is a lie.
The cake is a lie.

  • Comment on Re: Mojolicious generate a swagger file

Replies are listed 'Best First'.
Re^2: Mojolicious generate a swagger file
by marto (Cardinal) on Jan 06, 2021 at 15:46 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.