From cfdf8a82481bf37dd3a9e941dc3d7db5be3f9dbd Mon Sep 17 00:00:00 2001 From: John Hart Date: Tue, 10 May 2016 10:54:48 -0700 Subject: [PATCH] Appended additional operation names to the documentation for Parameter Groups (#1002) Makes the documentation for the Parameter Groups more generic so that it no longer includes just a single operation name when there could be several --- AutoRest/Generators/Extensions/Extensions/Extensions.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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(