forked from loafle/openapi-generator-original
When using inheritance let the constructor set the discriminator property to the model name. This avoids redundant and error prone stuff like: ``` $animal = new \Swagger\Client\Model\Dog(); $animal->setClassName('Dog'); ```