diff --git a/AutoRest/Generators/Extensions/Extensions/Extensions.cs b/AutoRest/Generators/Extensions/Extensions/Extensions.cs index 620a2d594c83e..44b69bfea2122 100644 --- a/AutoRest/Generators/Extensions/Extensions/Extensions.cs +++ b/AutoRest/Generators/Extensions/Extensions/Extensions.cs @@ -410,14 +410,13 @@ public static void AddParameterGroups(ServiceClient serviceClient) parameterGroupType = new CompositeType { Name = parameterGroupName, - Documentation = "Additional parameters for the " + method.Name + " operation." + Documentation = "Additional parameters for one or more operations" }; generatedParameterGroups.Add(parameterGroupType); //Add to the service client serviceClient.ModelTypes.Add(parameterGroupType); } - foreach (Property property in parameterGroups[parameterGroupName].Keys) { Property matchingProperty = parameterGroupType.Properties.FirstOrDefault(