unused macros removed

This commit is contained in:
Elena Bobkova 2018-11-22 14:27:20 +03:00
parent fcc3cc5bdd
commit c19a07be81
1 changed files with 0 additions and 14 deletions

View File

@ -8,20 +8,6 @@
{%- endif -%}
{% endmacro %}
{% macro writeInclusionAnnotation(nullable, optional) %}
{%- if nullable -%}
@JsonInclude(JsonInclude.Include.ALWAYS){{ " " }}
{%- elseif optional -%}
@JsonInclude(JsonInclude.Include.NON_NULL){{ " " }}
{%- endif -%}
{% endmacro %}
{% macro includeDateFormat(valueType) %}
{%- if valueType.baseTypeName == "DateTime" -%}
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ssX", timezone = "UTC")
{%- endif -%}
{% endmacro %}
{% macro formatValueType(valueType, nullable, optional) %}
{% import _self as self %}
{%- if valueType.baseTypeName == "Bool" -%}