Skip to content

Commit 1b80ef2

Browse files
committed
line change
1 parent 1eed52a commit 1b80ef2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

GoLive.Generator.ApiClientGenerator/ApiClientGenerator.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -600,8 +600,8 @@ private static void SetUpSingleApi(RouteGeneratorSettings config, ControllerRout
600600

601601
var methodParameterMappings = action.Mapping
602602
.Where(f => f.Parameter.FullTypeName != IFormFile_Q)
603-
.Where(e => action.Method == HttpMethod.Get || (action.Method != HttpMethod.Get && !action.Body.Any(b => string.Equals(b.Key, e.Key, StringComparison.InvariantCultureIgnoreCase))))
604-
// .Where(f => urlTemplate.Segments.Any(r => string.Equals(r.Parameter, f.Key, StringComparison.InvariantCultureIgnoreCase)))
603+
.Where(e => action.Method == HttpMethod.Get ||
604+
(action.Method != HttpMethod.Get && !action.Body.Any(b => string.Equals(b.Key, e.Key, StringComparison.InvariantCultureIgnoreCase))))
605605
.ToList();
606606

607607
if (methodParameterMappings.Any())

0 commit comments

Comments
 (0)