Configure Jackson to ignore unknown properties

This commit is contained in:
2026-03-07 17:53:41 -07:00
parent 2bf09ea76d
commit aa011205a0
2 changed files with 5 additions and 0 deletions

View File

@@ -22,6 +22,7 @@ public class ApiClient {
.build();
this.objectMapper = new ObjectMapper();
this.objectMapper.registerModule(new JavaTimeModule());
this.objectMapper.configure(com.fasterxml.jackson.databind.DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
this.baseUrl = ApiConfig.getInstance().getBaseUrl();
}