Skip to content

Commit 402c526

Browse files
Pretty close
1 parent ed207b0 commit 402c526

File tree

6 files changed

+2100
-1230
lines changed

6 files changed

+2100
-1230
lines changed

CLAUDE.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
44

55
## Code Rules
66

7-
- NO DUPLICATION - EVER!!!!
7+
- NO DUPLICATION - EVER!!!! REMOVING DUPLICATION is the absolute HIGHEST PRIORITY!!!
88
- Reduce the AMOUNT of code wherever possible
99
- No throwing exceptions, except for in tests
1010
- FP style code. Pure functions with immutable types.
@@ -16,6 +16,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
1616
- Ccode analysis warnings are always errors
1717
- Nullable reference types are enabled
1818
- NEVER copy files. Only MOVE files
19+
- Do not back files up
1920

2021
## Build, Test, and Development Commands
2122

RestClient.Net.OpenApiGenerator/CodeGenerationHelpers.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,7 @@ public static string Indent(string text, int level)
5454
/// <param name="path">The path template with original parameter names.</param>
5555
/// <param name="parameters">List of parameters with original and sanitized names.</param>
5656
/// <returns>The path with sanitized parameter names.</returns>
57-
public static string SanitizePathParameters(
58-
string path,
59-
List<(string Name, string Type, bool IsPath, string OriginalName)> parameters
60-
)
57+
public static string SanitizePathParameters(string path, List<ParameterInfo> parameters)
6158
{
6259
var result = path;
6360
foreach (var param in parameters.Where(p => p.IsPath))

0 commit comments

Comments
 (0)