diff --git a/KotlinServer/utils.twig b/KotlinServer/utils.twig index e353148..e283d99 100644 --- a/KotlinServer/utils.twig +++ b/KotlinServer/utils.twig @@ -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" -%}