in src/Microsoft.Azure.WebJobs.Extensions.OpenApi.Core/Visitors/StringEnumTypeVisitor.cs [28:36]
public override bool IsVisitable(Type type)
{
var isVisitable = (this.IsVisitable(type, TypeCode.Int16) || this.IsVisitable(type, TypeCode.Int32) || this.IsVisitable(type, TypeCode.Int64) || this.IsVisitable(type, TypeCode.Byte)) &&
type.IsUnflaggedEnumType() &&
type.HasJsonConverterAttribute<StringEnumConverter>()
;
return isVisitable;
}