Skip to content

Commit 39c10a5

Browse files
authored
IgnoreUnknownJsonProperties
New fields added into the api should not affect consumers
1 parent c5550fb commit 39c10a5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • src/main/java/uk/gov/hmcts/reform/payments/client/models

src/main/java/uk/gov/hmcts/reform/payments/client/models/FeeDto.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
import java.math.BigDecimal;
1111

12+
@JsonIgnoreProperties(ignoreUnknown = true)
1213
@Data
1314
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
1415
@Builder

0 commit comments

Comments
 (0)