Skip to content

Commit

Permalink
Revert converting entire path to kebab-case
Browse files Browse the repository at this point in the history
  • Loading branch information
christianhelle committed Mar 22, 2023
1 parent 7942e67 commit 0283771
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Refitter.Core/RefitInterfaceGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ private string GenerateInterfaceBody()

GenerateMethodXmlDocComments(operation, code);

code.AppendLine($"{Separator}{Separator}[{verb}(\"{kv.Key.ConvertKebabCaseToCamelCase()}\")]")
code.AppendLine($"{Separator}{Separator}[{verb}(\"{kv.Key}\")]")
.AppendLine($"{Separator}{Separator}{returnType} {name}({parametersString});")
.AppendLine();
}
Expand Down

0 comments on commit 0283771

Please sign in to comment.