From 7b595fc90a20545a5bf4510ada4ec550aa1276fa Mon Sep 17 00:00:00 2001 From: piyush-shukla03_infosys Date: Fri, 4 Oct 2024 21:31:27 +0530 Subject: [PATCH] Added JsonIgnoreProperties for kyc auth and exchange requests Signed-off-by: piyush-shukla03_infosys --- .../esignet/mock/identitysystem/dto/KycAuthRequestDto.java | 2 ++ .../esignet/mock/identitysystem/dto/KycExchangeRequestDto.java | 2 ++ 2 files changed, 4 insertions(+) diff --git a/mock-identity-system/src/main/java/io/mosip/esignet/mock/identitysystem/dto/KycAuthRequestDto.java b/mock-identity-system/src/main/java/io/mosip/esignet/mock/identitysystem/dto/KycAuthRequestDto.java index 55f0ff8f..404c1680 100644 --- a/mock-identity-system/src/main/java/io/mosip/esignet/mock/identitysystem/dto/KycAuthRequestDto.java +++ b/mock-identity-system/src/main/java/io/mosip/esignet/mock/identitysystem/dto/KycAuthRequestDto.java @@ -5,12 +5,14 @@ */ package io.mosip.esignet.mock.identitysystem.dto; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import lombok.Data; import java.util.List; @Data +@JsonIgnoreProperties(ignoreUnknown = true) public class KycAuthRequestDto { private String transactionId; diff --git a/mock-identity-system/src/main/java/io/mosip/esignet/mock/identitysystem/dto/KycExchangeRequestDto.java b/mock-identity-system/src/main/java/io/mosip/esignet/mock/identitysystem/dto/KycExchangeRequestDto.java index 5bb4f623..b866dadc 100644 --- a/mock-identity-system/src/main/java/io/mosip/esignet/mock/identitysystem/dto/KycExchangeRequestDto.java +++ b/mock-identity-system/src/main/java/io/mosip/esignet/mock/identitysystem/dto/KycExchangeRequestDto.java @@ -6,12 +6,14 @@ package io.mosip.esignet.mock.identitysystem.dto; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import lombok.Data; import java.time.LocalDateTime; import java.util.List; @Data +@JsonIgnoreProperties(ignoreUnknown = true) public class KycExchangeRequestDto { private LocalDateTime requestDateTime;