hashicorp / vault-plugin-secrets-gcp

Mozilla Public License 2.0
52 stars 24 forks source link

Shuffle around operation IDs to present the best generated client library interface #190

Closed maxb closed 1 year ago

maxb commented 1 year ago

The with-parameters APIs were never actually about being "with parameters" - it was simply a case of "query parameters" vs. "body parameters". At the generated client code level, that translates to "direct method parameters" vs. "parameters in a request struct".

This PR makes the opinionated choice to encourage the PUT/POST, "body parameters", "request struct" versions over the GET, "query parameters", "direct method parameters" ones because: