in src/Microsoft.NET.Sdk.Functions.Generator/AttributeExtensions.cs [200:235]
private static string NormalizePropertyName(Attribute attribute, PropertyInfo property)
{
var attributeName = attribute.GetType().Name;
var propertyName = property.Name;
if (attributeName == "BlobTriggerAttribute")
{
if (propertyName == "BlobPath")
{
return "path";
}
}
else if (attributeName == "ServiceBusTriggerAttribute")
{
if (propertyName == "Access")
{
return "accessRights";
}
}
else if (attributeName == "TimerTriggerAttribute")
{
if (propertyName == "ScheduleExpression")
{
return "schedule";
}
}
else if (attributeName == "ApiHubFileTrigger")
{
if (propertyName == "ConnectionStringSetting")
{
return "connection";
}
}
return propertyName.ToLowerFirstCharacter();
}