unused macros removed
This commit is contained in:
parent
fcc3cc5bdd
commit
c19a07be81
|
|
@ -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" -%}
|
||||
|
|
|
|||
Loading…
Reference in New Issue