Closed GoogleCodeExporter closed 9 years ago
Original comment by yan...@google.com
on 30 Sep 2011 at 4:14
Indeed we should be generating String as the type for totalResults fields. See
the discovery doc:
https://www.googleapis.com/discovery/v1/apis/customsearch/v1/rest
totalResults: {
type: "string"
format: "int64"
}
Ravi, please check if this is a bug in the code generator, or a breaking
server-side change that we need to accomodate by generating a new client lib
for customsearch.
Original comment by yan...@google.com
on 30 Sep 2011 at 4:25
I generated a new client lib for custom search and updated the APIs wiki:
http://code.google.com/p/google-api-java-client/wiki/APIs#CustomSearch_API
The totalResults field now looks like this:
@Key("totalResults") @JsonString
private Long totalResults;
Original comment by rmis...@google.com
on 30 Sep 2011 at 6:08
Original issue reported on code.google.com by
chewielo...@gmail.com
on 30 Sep 2011 at 3:39