Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Azure/autorest into optional
Browse files Browse the repository at this point in the history
  • Loading branch information
amarzavery committed May 11, 2016
2 parents 88e3679 + cfdf8a8 commit cb980a4
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 cb980a4

Please sign in to comment.