I'm using FOSRestBundle alongside with NelmioAPIDocBundle. Most of my controllers inherit from an abstract CRUD controller that handles the usual CRUD actions, the entity and form classes are passed from the service definition of a specific controller. Check out this gist to see the code.What I don't understand is how do I declare the API docblocks without having to override the base (abstract) controller actions? Is a class-level annotation capable of this, like PHPDoc's @method?
--
You received this message because you are subscribed to the Google Groups "RESTing with Symfony" group.
To unsubscribe from this group and stop receiving emails from it, send an email to resting-with-sym...@googlegroups.com.
To post to this group, send email to resting-wi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/resting-with-symfony/01195e78-a63c-4d63-b33e-7eb85927ac59%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/resting-with-symfony/CAO_dYhuzukTQGg3mvNFfUn1POp41u%3DVJod03Z64Z-vfDTH9_ag%40mail.gmail.com.