forked from loafle/openapi-generator-original
* [python] replace validator with field_validator
* [python] replace parse_obj with model_validate
* [python] replace dict with model_dump
* [python] replace construct with model_construct
* [python] replace __fields_set__ with model_fields_set
* [python] replace __fields_set__ in the test cases with model_fields_set
* [python] replace validate_arguments with validate_call
* [python] replace max_items, min_items with max_length, min_length
* [python] replace Config class with model_config
* [python] replace allow_population_by_field_name with populate_by_name
* [python] remove {{{classname}}}_ONE_OF_SCHEMAS
* [python] update test cases
* [python] update samples
* [python] fix typos in test cases