We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b5478f commit 03bcc4eCopy full SHA for 03bcc4e
src/CodeGeneration/ApiGenerator/Domain/CsharpMethod.cs
@@ -123,7 +123,7 @@ public IEnumerable<Constructor> RequestConstructors()
123
generated = $"public {m}({par}) : this({urlRouteParameters.First().Key}, typeof({generic}))";
124
}
125
126
- if ((m == "SuggestRequest") && string.IsNullOrEmpty(par) && !string.IsNullOrEmpty(this.RequestTypeGeneric))
+ if (string.IsNullOrEmpty(par) && !string.IsNullOrEmpty(this.RequestTypeGeneric))
127
{
128
var generic = this.RequestTypeGeneric.Replace("<", "").Replace(">", "");
129
doc = AppendToSummary(doc, ". Will infer the index from the generic type");
0 commit comments