Skip to content

Commit 46b4f56

Browse files
format
1 parent 8786ecc commit 46b4f56

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

RestClient.Net.McpGenerator.Cli/Program.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,10 @@ static async Task GenerateCode(Config config)
169169
if (!string.IsNullOrWhiteSpace(config.TagsFilter))
170170
{
171171
includeTags = new HashSet<string>(
172-
config.TagsFilter.Split(',', StringSplitOptions.RemoveEmptyEntries | StringSplitOptions.TrimEntries),
172+
config.TagsFilter.Split(
173+
',',
174+
StringSplitOptions.RemoveEmptyEntries | StringSplitOptions.TrimEntries
175+
),
173176
StringComparer.OrdinalIgnoreCase
174177
);
175178
Console.WriteLine($"Filtering to tags: {string.Join(", ", includeTags)}");

RestClient.Net.McpGenerator/McpToolGenerator.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,8 @@ string errorType
227227
var okAlias = $"Ok{responseType}";
228228
var errorAlias = $"Error{responseType}";
229229

230-
var httpClientParam = methodParamsStr.Length > 0 ? "HttpClient httpClient, " : "HttpClient httpClient";
230+
var httpClientParam =
231+
methodParamsStr.Length > 0 ? "HttpClient httpClient, " : "HttpClient httpClient";
231232
var allParams = httpClientParam + methodParamsStr;
232233

233234
return $$"""

0 commit comments

Comments
 (0)