From 034d991c2f5ba7386f454ccbdc398badf9f4171d Mon Sep 17 00:00:00 2001 From: Alexander Fenster Date: Mon, 23 Dec 2019 21:08:55 -0800 Subject: [PATCH] fix: use camel case for path template names (#184) --- templates/typescript_gapic/src/$version/$service_client.ts.njk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/typescript_gapic/src/$version/$service_client.ts.njk b/templates/typescript_gapic/src/$version/$service_client.ts.njk index 38e7e226d..7ab37d0e8 100644 --- a/templates/typescript_gapic/src/$version/$service_client.ts.njk +++ b/templates/typescript_gapic/src/$version/$service_client.ts.njk @@ -579,7 +579,7 @@ export class {{ service.name }}Client { {%- endfor %} * @returns {string} Resource name string. */ - {{ template.name.toLowerCase() }}Path( + {{ template.name.toCamelCase() }}Path( {%- set paramJoiner = joiner() %} {%- for param in template.params %} {{-paramJoiner()-}}{{ param }}:string