Created by: etremblay
Fix https://github.com/OpenAPITools/openapi-generator/issues/10244
I manually tested the output of generation but was'nt able to validate it against the petstore sample. I did not find any enum with a default value used as a model property in the petstore.
generate-samples.sh and export_docs_generators.sh did not produce any code diff.