Skip to content

Commit 470866d

Browse files
authored
csharp-fix-method-name (#43)
1 parent bf55ddd commit 470866d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/generators/client/CSharpClientGenerator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ ${controllerPropsCtor}
117117

118118
let methodContent = '';
119119
// method one
120-
methodContent += `\tpublic Task<${responseType}${nullableMark}> ${methodName}(${methodParams}) \n\t{\n`.replace(', )', ')');
120+
methodContent += `\tpublic Task<${responseType}${nullableMark}> ${methodName}Async(${methodParams}) \n\t{\n`.replace(', )', ')');
121121
methodContent += `\t\treturn Method<${requestType},${responseType}${nullableMark}>(\n`;
122122
methodContent += methodCommonText;
123123

0 commit comments

Comments
 (0)