Skip to content

Commit

Permalink
Update SigSpecGenerator.cs (#17)
Browse files Browse the repository at this point in the history
Fixed so that the XmlDesrciption is taken from the "signalR" method instead of the type (the Hub)
  • Loading branch information
hoaol authored and RicoSuter committed Mar 29, 2019
1 parent 8a51c7b commit d70d57f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SigSpec.Core/SigSpecGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ private async Task<SigSpecOperation> GenerateOperationAsync(Type type, MethodInf
{
var operation = new SigSpecOperation
{
Description = await type.GetXmlSummaryAsync(),
Description = await method.GetXmlSummaryAsync(),
Type = operationType
};

Expand Down Expand Up @@ -132,4 +132,4 @@ private async Task<SigSpecOperation> GenerateOperationAsync(Type type, MethodInf
return operation;
}
}
}
}

0 comments on commit d70d57f

Please sign in to comment.