You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
I'm trying to generate java client code with the default library template "okhttp-gson" and date library "joda".
The generated code has compile issues:
ApiClient.java:[337,39] error: reference to DateTimeFormatter is ambiguous both class org.joda.time.format.DateTimeFormatter in org.joda.time.format and class java.time.format.DateTimeFormatter in java.time.format match
and JSON.java:[289,65] error: reference to LocalDate is ambiguous both class org.joda.time.LocalDate in org.joda.time and class java.time.LocalDate in java.time match
openapi-generator version
7.5.0
Suggest a fix
I believe the issue was introduced with commit: 8455c1c
It would be fixed if java.time.format.DateTimeFormatter and java.time.LocalDate are not included in the ApiClient.mustache and the JSON.mustache
The text was updated successfully, but these errors were encountered:
Bug Report Checklist
Description
I'm trying to generate java client code with the default library template "okhttp-gson" and date library "joda".
The generated code has compile issues:
ApiClient.java:[337,39] error: reference to DateTimeFormatter is ambiguous both class org.joda.time.format.DateTimeFormatter in org.joda.time.format and class java.time.format.DateTimeFormatter in java.time.format match
and
JSON.java:[289,65] error: reference to LocalDate is ambiguous both class org.joda.time.LocalDate in org.joda.time and class java.time.LocalDate in java.time match
openapi-generator version
7.5.0
Suggest a fix
I believe the issue was introduced with commit: 8455c1c
It would be fixed if java.time.format.DateTimeFormatter and java.time.LocalDate are not included in the ApiClient.mustache and the JSON.mustache
The text was updated successfully, but these errors were encountered: