You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently I can do this by defining routePrefix on individual API Platform resource. However, I would like to know if there is a more flexible approach?
I also tried different approach by overriding config/routes/api_platform.yml:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
Is it possible to define different path prefixes globally per Resource path mapping?
What I want to achieve is to have something like following:
Currently I can do this by defining
routePrefix
on individual API Platform resource. However, I would like to know if there is a more flexible approach?I also tried different approach by overriding
config/routes/api_platform.yml
:However this did not work correctly. Basically all routes in swagger had beta prefix.
Beta Was this translation helpful? Give feedback.
All reactions