Open hrach opened 1 month ago
Tested 7.5.0, it is broken as well, so it is in its changes.
Error still occurs in 7.7.0
I also had this problem, and finally found out it was due to me having overridden the data_class.mustache
template. There seems to have been quite a few changes to the template since 7.4.0 (https://github.com/OpenAPITools/openapi-generator/commits/master/modules/openapi-generator/src/main/resources/kotlin-client/data_class.mustache), so when I updated my local override the issue was fixed.
Bug Report Checklist
Description
After updating to 7.6.0 (from 7.4.0) there is a regression. The produced code does not compile:
openapi-generator version
7.6.0
, yes, a regressionOpenAPI declaration file content or url
Related issues/PRs