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
I'm using openapi-generator-maven-plugin to generate some classes given a yaml file. I wanted to use java8 as date library, but it seems that I'll need to add a dependency to joda library as well, because generated code refers that library despite configuration.
Tool used: openapi-generator-maven-plugin version 4.2.3
The generator generates the JacksonConfig class as well, but this uses joda date library, even if I specified java8 in plugin configuration. I saw JacksonConfig.mustache, and I can't find customizable content. JacksonConfig.mustache
Would it be possible to backport this fix to 4.3.x
Due to the inheritance-bug we have to downgrade the plugin from 5.x to 4.3.1 which now generates the wrong date imports
I'm using openapi-generator-maven-plugin to generate some classes given a yaml file. I wanted to use java8 as date library, but it seems that I'll need to add a dependency to joda library as well, because generated code refers that library despite configuration.
Tool used: openapi-generator-maven-plugin version 4.2.3
Plugin configuration:
api.yaml
User class is generated correctly, as I found field registerDate of type LocalDate
User.java
The generator generates the JacksonConfig class as well, but this uses joda date library, even if I specified java8 in plugin configuration. I saw JacksonConfig.mustache, and I can't find customizable content.
JacksonConfig.mustache
The text was updated successfully, but these errors were encountered: