forked from loafle/openapi-generator-original
* correct sanitize_for_serialization in python generator, fixes #18106 The method did not consider the objects created for oneOf schemata. If one of the cases was a list, to_dict would return it instead of something that has an items() method. * generate new samples