Skip to content

Commit 5f94047

Browse files
committed
DescriptorsBase generated all the common properties on one line
1 parent 43528b3 commit 5f94047

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/CodeGeneration/ApiGenerator/Views/_Descriptors.Generated.cshtml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ namespace Nest
2424
var original = common.QueryStringKey;
2525
var t = @common.TypeHighLevel;
2626
var tSuffix = (t == "bool" || t == "bool?") ? " = true" : "";
27-
<text> public TDescriptor @(common.ClsName)(@common.TypeHighLevel @common.ClsArgumentName@tSuffix) => Qs("@original", @(common.ClsArgumentName));</text>
27+
<text> public TDescriptor @(common.ClsName)(@common.TypeHighLevel @common.ClsArgumentName@tSuffix) => Qs("@original", @(common.ClsArgumentName));
28+
</text>
2829
}
2930
}
3031
@foreach (CsharpMethod method in Model.CsharpMethodsWithQueryStringInfo)

0 commit comments

Comments
 (0)