plugin 'SwaggerUI' => {
route => app->routes()->any('/swagger'),
url => '/swagger.json',
};
# Mojolicious Full
$app->plugin(
SwaggerUI => {
route
=> {
url => '/swagger.json'
};
Url for the JSON Swagger specification. It defaults to C</v1>.
B<NOTE:>
L<Mojolicious::Plugin::OpenAPI> can expose the JSON Swagger spec under the base pa