EyeSeeTea / pictureapp

Mobile application designed to report cases of malaria (to a DHIS2 server)
GNU General Public License v3.0
4 stars 4 forks source link

In api/available calls, ignore additional keys being returned by the server without failing #2445

Closed ifoche closed 4 years ago

xurxodev commented 5 years ago

@ifoche The app is working with extra keys in api available and all web service endpoints because we have in the eReferralsAPIClient code:

ObjectMapper objectMapper = new ObjectMapper()
                .disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES);

Endpoints supported on this class: