private string GetPath() { var route = metadata.ServiceMethod.GetCustomAttribute<RouteAttribute>(); if (route != null) { return route.Route; } return actionPathConvention.From(metadata); }