elixir-google-api icon indicating copy to clipboard operation
elixir-google-api copied to clipboard

Are the Resource Prefixes necessary?

Open bshaffer opened this issue 8 years ago • 3 comments

For example, storage_projects_service_account_get could just be service_account_get, since the function only exists in the GoogleApi.Storage.V1.Api.Projects module.

bshaffer avatar Sep 07 '17 22:09 bshaffer

These are generated directly from the operationId field in the OpenAPI spec and indirectly from the Google discovery format. In this case, the operation id is storage.projects.serviceAccount.get.

chingor13 avatar Sep 11 '17 22:09 chingor13

Is there a way to customize the way the operation ID is translated into a function name?

bshaffer avatar Sep 29 '17 21:09 bshaffer

@chingor13, this seems old enough to make a decision on the "question" aspect of this issue. Given the silence, I would think that the answer is "no", or at least "not now". Can you please either close this or flip the type to "feature request"?

sduskis avatar Dec 06 '18 18:12 sduskis