in client/Apache.ShenYu.AspNetCore/Services/ShenyuStartupService.cs [201:213]
private string GetPath(ShenyuClientAttribute shenyuClientAttribute, IRouteTemplateProvider routeAttribute,
string controllerName = null)
{
string routePath = routeAttribute.Template == null ? "" : routeAttribute.Template;
if (routePath.Equals("[controller]") && controllerName != null)
{
routePath = controllerName
.Substring(0, controllerName.IndexOf("Controller", StringComparison.Ordinal))
.ToLower();
}
return shenyuClientAttribute != null ? shenyuClientAttribute.Path : routePath;
}