Skip to content

Commit 555bf12

Browse files
Copy endpoint metadata. Fixes #695
1 parent b9b8f5d commit 555bf12

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Microsoft.AspNetCore.OData.Versioning/AspNet.OData/Routing/ODataRouteBindingInfoConvention.cs

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ static ControllerActionDescriptor Clone( ControllerActionDescriptor action, Attr
6767
ControllerName = action.ControllerName,
6868
ControllerTypeInfo = action.ControllerTypeInfo,
6969
DisplayName = action.DisplayName,
70+
EndpointMetadata = action.EndpointMetadata,
7071
FilterDescriptors = action.FilterDescriptors,
7172
MethodInfo = action.MethodInfo,
7273
Parameters = action.Parameters,

0 commit comments

Comments
 (0)