We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8381aa9 commit a8419eeCopy full SHA for a8419ee
AutoRest/Generators/Java/Azure.Java/TemplateModels/AzureMethodTemplateModel.cs
@@ -532,7 +532,8 @@ public override string CallbackGenericTypeString
532
{
533
get
534
535
- if (ReturnType.Body is SequenceType && this.IsPagingNextOperation)
+ if (ReturnType.Body is SequenceType &&
536
+ (this.IsPagingOperation || this.IsPagingNextOperation))
537
538
return JavaCodeNamer.WrapPrimitiveType(ReturnType.Body).Name;
539
}
0 commit comments