mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-06-23 09:10:51 +00:00
`parent` in a model is set not only when the model inherits from another model but also when a parent container exists. So We will now use `parentSchema` to check whether a parent class exists. If si we still use `parent` to output the class name because that has been converted to a proper model name and `parentSchema` hasn't.