TODO updated

This commit is contained in:
Elena Bobkova 2018-11-22 14:40:44 +03:00
parent c19a07be81
commit fb8a1d4f7c
1 changed files with 1 additions and 1 deletions

View File

@ -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)