-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Datetype plugin parameter/argument not working #471
Comments
Maybe @dmiorandi could offer some help here? |
Hi @swapdh, I'm not using directly jsonschema2pojo but I'm using raml-jaxrs-maven-plugin that create an instance of org.jsonschema2pojo.DefaultGenerationConfig directly and it works, so core is ok. Could you provide you cli command to check in same condition? |
This should be fixed in 0.4.22 (it was fixed by #531). |
Thanks Joe for fixing it. I had work around it earlier using On 29 March 2016 at 22:45, Joe Littlejohn notifications@github.com wrote:
|
Hi,
I am trying to use dateType parameter to use java.time.LocalDate for dates but it doesn't work instead it creates a string type. I am using Java 8 and 0.4.18 version of jsonschema2pojo plugin.
I am not sure if I need to set another parameter or I am using wrong name.
I peeked in to source code and I didn't see Parameter set for dateType which I guess used JCommander to set parameters for GenerationConfig.
could you please advice, I really need to use java.time.LocalDate instead joda LocalDate.
Thanks.
The text was updated successfully, but these errors were encountered: