Zishun (Zack) Wei

Results 2 issues of Zishun (Zack) Wei

Fix issue https://github.com/OpenAPITools/openapi-generator/issues/18495 For discriminator, it should be `modelName` instead of 'mappingName' in from_dict method in the template since object_type has been the mapped name (modelName) by get_discriminator_value() ``` @classmethod...

#### Bug Report Checklist - [x] Have you provided a full/minimal spec to reproduce the issue? - [x] Have you validated the input using an OpenAPI validator ([example](https://apidevtools.org/swagger-parser/online/))? - [x]...

Issue: Bug