Skip to content

Commit

Permalink
csharp-fix-method-name (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
barnuri authored Aug 7, 2024
1 parent bf55ddd commit 470866d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generators/client/CSharpClientGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ ${controllerPropsCtor}

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

Expand Down

0 comments on commit 470866d

Please sign in to comment.