New response properties are additive. Ignore unknown properties when deserialising responses and read only the fields your application needs. If you use typed models, configure the deserialiser to allow additional properties instead of treating them as errors.
For example, read only the documented features field so these clients tolerate other fields added to the response:
With Jackson, read only the fields your application needs:
Code
import com.fasterxml.jackson.databind.JsonNode;import com.fasterxml.jackson.databind.ObjectMapper;ObjectMapper mapper = new ObjectMapper();JsonNode body = mapper.readTree(response.body());JsonNode features = body.path("features");
Fields added to the response remain available in body but do not affect this code.
Removing a response property can break clients that depend on it. Check the current reference when upgrading and handle optional and deprecated fields safely.
Maps API
Mapping libraries can use the Maps API key query parameter when they cannot set an authorization header: