From 4c5579f706c2e673d3bc079f7b9036f302de913d Mon Sep 17 00:00:00 2001 From: Piyush7034 <47858366+Piyush7034@users.noreply.github.com> Date: Fri, 4 Oct 2024 22:14:40 +0530 Subject: [PATCH] Added JsonIgnoreProperties for kyc auth and exchange requests (#269) Signed-off-by: piyush-shukla03_infosys Co-authored-by: piyush-shukla03_infosys Signed-off-by: kaifk468 --- .../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;