googleapis / google-cloud-rust

Google Cloud Platform Rust [Experimental] Client Libraries
Apache License 2.0
269 stars 19 forks source link

fix(generator/openapi): iterate on synthetic messages #217

Closed coryan closed 6 days ago

coryan commented 6 days ago

We create synthetic request messages because OpenAPI does not always include them. That would be fine, except that sometimes they do include the *Request message and we need to modify it to add back the path parameters and inject the body parameter.

I was (incorrectly) modifying the body parameter in some cases.