googleapis / google-cloud-rust

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

Default `*Client` name for OpenAPI is not very ergonomic #235

Closed coryan closed 15 hours ago

coryan commented 5 days ago

The factory function for secret manager comes out as .google_cloud_secretmanager_v_1_secret_manager_service() and the class as the PascalCase version of that. Yuck.

codyoss commented 4 days ago

Yeah, I think we need a codec option for this if we can't programmatically come up with a good name for openAPI clients. We have this in a couple languages today as a part of the per-language service config settings.