nelmio/NelmioApiDocBundle — pull request #301 by ogimenezb (2013-12-19 21:47:22+00:00)
Title: Merge parameters

When you Merge parameters in ApiDocExtractor if the latest array to merge has less parameters only those should be the ones to use:

For example:

You have a class with 20 properties and everyone of them has an Assert type
In the first pass, because you have validation you will have 20 properties
Now you add JMSSerializer and only expose one of them.
Because it merges all you will end up with 20 properties and you should only have one.