fix: json property fix

main
Jonguk. Lim 3 months ago
parent f782063162
commit 380fc88bf9

@ -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;
/**

Loading…
Cancel
Save