jhthorsen / mojolicious-plugin-openapi

OpenAPI / Swagger plugin for Mojolicious

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

maksudnurullaev opened this issue · comments

commented

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?

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 :)