From 88287c867ec8d43a89728974837f6094f2346042 Mon Sep 17 00:00:00 2001 From: jilling Date: Mon, 18 Mar 2024 14:24:17 +0100 Subject: [PATCH] Remove default values --- templates/libraries/jersey3/pojo.mustache | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/libraries/jersey3/pojo.mustache b/templates/libraries/jersey3/pojo.mustache index 54c5b28ba..7b6bb44bb 100644 --- a/templates/libraries/jersey3/pojo.mustache +++ b/templates/libraries/jersey3/pojo.mustache @@ -88,13 +88,13 @@ public class {{classname}} {{#parent}}extends {{{.}}} {{/parent}}{{#vendorExtens {{#deprecated}} @Deprecated {{/deprecated}} - private {{{datatypeWithEnum}}} {{name}}{{#required}}{{#defaultValue}} = {{{.}}}{{/defaultValue}}{{/required}}{{^required}} = null{{/required}}; + private {{{datatypeWithEnum}}} {{name}}{{#required}} = {{{.}}}{{/required}}{{^required}} = null{{/required}}; {{/isContainer}} {{^isContainer}} {{#deprecated}} @Deprecated {{/deprecated}} - private {{{datatypeWithEnum}}} {{name}}{{#defaultValue}} = {{{.}}}{{/defaultValue}}; + private {{{datatypeWithEnum}}} {{name}}; {{/isContainer}} {{/vendorExtensions.x-is-jackson-optional-nullable}}