Source documentation very unhelpful in describing return values #2442
Labels
type: docs
Improvement to the documentation for an API.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
I refer to the documentation on AnnotateImageResponse::getTextAnnotations. Your documentation provides only the barest and unhelpful description of the return results:
It looks like one is going to receive an array or some object of the iterable pseudotype, but we have no idea what class these objects might be, what properties/methods they might have, or how we might deal with them in a foreach loop. This documentation really leaves a lot to be desired. An alternative might be better javadoc comments documenting the source itself so our IDE can give us come code hinting.
The text was updated successfully, but these errors were encountered: