jhthorsen / mojolicious-plugin-openapi

OpenAPI / Swagger plugin for Mojolicious
53 stars 41 forks source link

/pages/<*path>" contains a reserved stash value #201

Open maksudnurullaev opened 3 years ago

maksudnurullaev commented 3 years ago

Hi,

I got next error when run it with yancy & mojolicious (v9.02): { Route pattern "/pages/<*path>" contains a reserved stash value at /home/pi/perl5/perlbrew/perls/perl-5.33.7/lib/site_perl/5.33.7/Mojolicious/Plugin/OpenAPI.pm line 111 }

Is it possible fix it by changing "path" name to some-neutral name?

jhthorsen commented 3 years ago

This is not easy to do. I think it should be fixed in M::P::OpenAPI, but since I’m very busy it might be simpler to fix in Yancy..?

I will review a PR though :)