Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Schulte committed May 11, 2016
2 parents d406c85 + cfdf8a8 commit 01d7a12
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions AutoRest/Generators/Extensions/Extensions/Extensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 01d7a12

Please sign in to comment.