jhthorsen / mojolicious-plugin-openapi

OpenAPI / Swagger plugin for Mojolicious
54 stars 44 forks source link

Not every route is prefixed #69

Closed KES777 closed 6 years ago

KES777 commented 6 years ago
    $app->plugin(OpenAPI => {
        spec_route_name => 'api',
    });

Not every route is prefixed

delete1

Because of this it create routes with conflicting names

jhthorsen commented 6 years ago

I'm not sure if the change I made is the best solution, but at least it should avoid duplicates now.