google-api-java-client-services
google-api-java-client-services copied to clipboard
google-api-services-cloudbuild api model has incorrect annotation
We are in the middle of upgrading our version of spring boot to 2.2.1 for Spinnaker.
which includes a Jackson upgrade com.fasterxml.jackson.core:* from 2.9.9.3 to 2.10.0
This has resulted in an exception being thrown.
number type formatted as a JSON number cannot use @JsonString annotation
which can be traced back to here:
https://github.com/googleapis/google-api-java-client-services/blob/master/clients/google-api-services-cloudbuild/v1/1.26.0/com/google/api/services/cloudbuild/v1/model/StorageSource.java#L45
I will take a look into this and try to see what the issue might be here. The purpose of that annotation is
Use this annotation to specify that a declared numeric Java field should map to a JSON string.