Skip to content

Commit 03bcc4e

Browse files
Stuart CamMpdreamz
authored andcommitted
Remove SuggestRequest as type has been removed (#3074)
1 parent 8b5478f commit 03bcc4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CodeGeneration/ApiGenerator/Domain/CsharpMethod.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public IEnumerable<Constructor> RequestConstructors()
123123
generated = $"public {m}({par}) : this({urlRouteParameters.First().Key}, typeof({generic}))";
124124
}
125125

126-
if ((m == "SuggestRequest") && string.IsNullOrEmpty(par) && !string.IsNullOrEmpty(this.RequestTypeGeneric))
126+
if (string.IsNullOrEmpty(par) && !string.IsNullOrEmpty(this.RequestTypeGeneric))
127127
{
128128
var generic = this.RequestTypeGeneric.Replace("<", "").Replace(">", "");
129129
doc = AppendToSummary(doc, ". Will infer the index from the generic type");

0 commit comments

Comments
 (0)