nelmio/NelmioApiDocBundle — pull request #344 by michalschroeder (2014-02-24 19:51:32+00:00)
Title: Feature/discriminator

Issue: https://github.com/nelmio/NelmioApiDocBundle/issues/285

Add possibility to use JMS\Discriminator to describe multiple input/output object types on endpoints.
For example if there is one base class AbstractUser and multiple subclasses: User, Admin, Moderator... etc

```
/**
* @ApiDoc(
* output="Acme\Bundle\Entity\AbstractUser"
* )
*/
public function getUsersAction()
{
}
```

```