Offer to work as all the rules guys
- Create a folder controllers /V2/ (or/and add V2 to the name of the controller for easy search in the IDE)
- Configure the prefix for all of these controllers
/v2 one line in the ranting (or if the annotation -- ask them to specify the prefix)
Doc: Route Groups and Prefixes¶
Not mudkats with kveri-parameter
Such opportunities at your fingertips what you are thinking there as in zero?!
Well, it certainly is, if you are in the controllers of shit not piled, if done cleanly -- the controller as raskhodka,
controller + a couple of DTO to the desired version
UPD from @graciela
It is not necessary to use the JMS serializer or Symfony Serializer with annotations for entities. For responses you can use regular DTO-shki or fractal.
The API Doc is comfortable to write with https://github.com/bukalapak/snowboard