mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2026-03-19 15:49:06 +00:00
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');
```