What I expect to see:
All routes should contain the path part from Locale middleware: {_language} with an ability to change it on request
What I see:
All routes are exactly as they were declared
Looks like the problem is larger than it is. Having swagger declaration in third-party library developer may have wrong addresses that make our swagger package unusable. Just think of that you're changing /debug route from yii-debug package to /infra/debug and you still have /debug into your swagger panel, do not have /infra/debug and any /debug calls bring errors.
Steps to reproduce:
What I expect to see: All routes should contain the path part from Locale middleware:
{_language}
with an ability to change it on requestWhat I see: All routes are exactly as they were declared
Looks like the problem is larger than it is. Having swagger declaration in third-party library developer may have wrong addresses that make our swagger package unusable. Just think of that you're changing
/debug
route fromyii-debug
package to/infra/debug
and you still have/debug
into your swagger panel, do not have/infra/debug
and any/debug
calls bring errors.@yiisoft/yii3 do you have any thought about it?