Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Mojolicious generate a swagger file

by Fletch (Chancellor)
on Jan 06, 2021 at 13:52 UTC ( #11126431=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11126431]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (9)
As of 2021-04-14 08:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?