Skip to content

Commit

Permalink
Adding date-time types to Maven plugin mojo configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Myslyvtsev committed Mar 17, 2016
1 parent a2c538d commit 296b83c
Showing 1 changed file with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -345,8 +345,31 @@ public class Jsonschema2PojoMojo extends AbstractMojo implements GenerationConfi
*/
private boolean useJodaLocalTimes = false;

/**
* What type to use instead of string when adding string type fields of
* format date-time to generated Java types.
*
* @parameter expression="${jsonschema2pojo.dateTimeType}"
* @since 0.4.22
*/
private String dateTimeType = null;

/**
* What type to use instead of string when adding string type fields of
* format time (not date-time) to generated Java types.
*
* @parameter expression="${jsonschema2pojo.timeType}"
* @since 0.4.22
*/
private String timeType = null;

/**
* What type to use instead of string when adding string type fields of
* format date (not date-time) to generated Java types.
*
* @parameter expression="${jsonschema2pojo.dateType}"
* @since 0.4.22
*/
private String dateType = null;

/**
Expand Down

0 comments on commit 296b83c

Please sign in to comment.