We shouldn't be converting all the model json to kebab case. While it is nicer and more idiomatic to do destructuring with it, Google APIs expect parameters to be passed in with their syntax in requests.
The following code is being generated now:
While we could of course convert back the parameters to CamelCase, it might be that the conversion is not lossless, and I don't feel safe doing CamelCase -> kebab-case -> CamelCase.
We shouldn't be converting all the model json to kebab case. While it is nicer and more idiomatic to do destructuring with it, Google APIs expect parameters to be passed in with their syntax in requests.
The following code is being generated now:
While we could of course convert back the parameters to CamelCase, it might be that the conversion is not lossless, and I don't feel safe doing
CamelCase -> kebab-case -> CamelCase
.