Skip to content

Commit

Permalink
Update OperationParameterProcessor.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
RicoSuter authored Nov 10, 2017
1 parent 38efccc commit bf2af30
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public async Task<bool> ProcessAsync(OperationProcessorContext context)
dynamic fromRouteAttribute = attributes.TryGetIfAssignableTo("Microsoft.AspNetCore.Mvc.FromRouteAttribute");
dynamic fromHeaderAttribute = attributes.TryGetIfAssignableTo("Microsoft.AspNetCore.Mvc.FromHeaderAttribute");
dynamic fromFormAttribute = attributes.TryGetIfAssignableTo("Microsoft.AspNetCore.Mvc.FromFormAttribute");

var fromBodyAttribute = attributes.TryGetIfAssignableTo("FromBodyAttribute", TypeNameStyle.Name);
var fromUriAttribute = attributes.TryGetIfAssignableTo("FromUriAttribute", TypeNameStyle.Name) ??
attributes.TryGetIfAssignableTo("FromQueryAttribute", TypeNameStyle.Name);
Expand Down

0 comments on commit bf2af30

Please sign in to comment.