This issue is still open: https://github.com/OpenAPITools/openapi-generator/issues/7815 This PR merge is more recent than the latest release. Try using the master version of the generator.