From 6522393a056baaef069d14cd9c6fd6a33671a033 Mon Sep 17 00:00:00 2001 From: HyunSu1768 Date: Thu, 1 Aug 2024 11:20:52 +0900 Subject: [PATCH] =?UTF-8?q?bug=20::=20dto=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../client/gocd/dto/response/GetPipelinesHistoryResponse.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/xquare/app/xquareinfra/infrastructure/feign/client/gocd/dto/response/GetPipelinesHistoryResponse.kt b/src/main/kotlin/xquare/app/xquareinfra/infrastructure/feign/client/gocd/dto/response/GetPipelinesHistoryResponse.kt index 0c38f2c..b010773 100644 --- a/src/main/kotlin/xquare/app/xquareinfra/infrastructure/feign/client/gocd/dto/response/GetPipelinesHistoryResponse.kt +++ b/src/main/kotlin/xquare/app/xquareinfra/infrastructure/feign/client/gocd/dto/response/GetPipelinesHistoryResponse.kt @@ -1,5 +1,6 @@ package xquare.app.xquareinfra.infrastructure.feign.client.gocd.dto.response +import com.fasterxml.jackson.annotation.JsonIgnoreProperties import com.fasterxml.jackson.annotation.JsonProperty data class GetPipelinesHistoryResponse( @@ -68,6 +69,7 @@ data class Modification( val emailAddress: Any?, ) +@JsonIgnoreProperties(ignoreUnknown = true) data class Stage( val result: String? = null, val status: String, @@ -77,7 +79,7 @@ data class Stage( val counter: String, val scheduled: Boolean, @JsonProperty("approval_type") - val approvalType: String, + val approvalType: String? = null, @JsonProperty("approved_by") val approvedBy: String, @JsonProperty("operate_permission")