TODO updated
This commit is contained in:
parent
c19a07be81
commit
fb8a1d4f7c
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{%- for field in fields %}
|
||||
{%- if field.type.type.baseTypeName == "DateTime" %}
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ssX", timezone = "UTC") //TODO use field format
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ssX", timezone = "UTC") //TODO find a way to use 'ZZZ' from date format instead of 'X'
|
||||
{%- endif %}
|
||||
{%- if field.nullable %}
|
||||
@JsonInclude(JsonInclude.Include.ALWAYS)
|
||||
|
|
|
|||
Loading…
Reference in New Issue