-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API prefix #54
Comments
No, there is no way But I appreciate any PR which fix this issue ;) |
I'm including configuration options in my PR #53 . One of the options is to add different namespace for Controller classes. I can include this option as well. |
Sounds good. I’m also happy to do a PR specifically for prefixing after #55 is merged. There should probably also be a config for prefixing the route names as well (FOSRest offers it that way, anyway). |
Is there any way currently to set a prefix for the generated routes when running
php bin/console make:api
? I was not able to find any and the enforced routes seem to be deeply ingrained in the generation process (e.g. just changing the annotation on the controller does not updated the route information provided from the API responses).The text was updated successfully, but these errors were encountered: