diff --git a/filters/all.js b/filters/all.js index bdc7269f7..1575ad86c 100644 --- a/filters/all.js +++ b/filters/all.js @@ -51,9 +51,11 @@ function toJavaType(str){ return 'boolean'; case 'date': return 'java.time.LocalDate'; + case 'time': + return 'java.time.OffsetTime'; case 'dateTime': case 'date-time': - return 'java.time.LocalDateTime'; + return 'java.time.OffsetDateTime'; case 'string': case 'password': case 'byte':