From 380fc88bf9810d74da99cad59f30261adaa81ba3 Mon Sep 17 00:00:00 2001 From: "Jonguk. Lim" Date: Tue, 20 Aug 2024 14:19:59 +0900 Subject: [PATCH] fix: json property fix --- .../main/java/kr/xit/biz/ens/model/ktgbs/KtGbsApiDTO.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mens-core/src/main/java/kr/xit/biz/ens/model/ktgbs/KtGbsApiDTO.java b/mens-core/src/main/java/kr/xit/biz/ens/model/ktgbs/KtGbsApiDTO.java index ddb445f..7bde11c 100644 --- a/mens-core/src/main/java/kr/xit/biz/ens/model/ktgbs/KtGbsApiDTO.java +++ b/mens-core/src/main/java/kr/xit/biz/ens/model/ktgbs/KtGbsApiDTO.java @@ -8,8 +8,8 @@ import javax.validation.constraints.Size; import org.hibernate.validator.constraints.NotEmpty; -import com.fasterxml.jackson.annotation.JsonAlias; import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.PropertyNamingStrategies; import com.fasterxml.jackson.databind.annotation.JsonNaming; @@ -98,8 +98,7 @@ public class KtGbsApiDTO { @Schema(requiredMode = Schema.RequiredMode.REQUIRED, title = "문서종류(sms|lms|mms)", example = " ", allowableValues = { "sms", "lms", "mms"}) @Size(min = 3, max = 3, message = "문서종류(sms|lms|mms)") - @JsonAlias("m_type") - //@JsonProperty("m_type") + @JsonProperty("m_type") private String mType; /**