Incorrect typing in @googleapis/healthcare #3490
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Environment details
@googleapis/healthcare
version: 16.0.0Hi there- following the example code for creating FHIR resources, it seems the generated types do not match what the api expects.
Running the example code indicates the
requestBody
is mistyped and should be of type Scehma$HttpBody.The response is also mistyped as it seems to return a BLOB. Below is the example code with comments added. This was tested using valid config variables.
It seems there have been a couple other similar issues in the other api libraries.
See: #1944 and #1168
The text was updated successfully, but these errors were encountered: