<% _.each(signature, function(item){ %>

<%= item.node.description %>

Parameters

<% _.each(item.node.fields, function(field){ %> <% }); %>
Name Type Description Mandatory Extra Info
<%= field.key %> <%= field.type %> <%= field.description %> <% if(field.mandatory){ %>Yes<% } else { %>No<% } %> <% if(field.type == 'oneof'){ %>Must be one of: <%= field.acceptedValues.join(', ') %><% } %> <% if(field.type == 'date'){ %>Accepted date format: <%= field.validationString %><% } %> <% if(field.type == 'string' && !!field.minChars){ %>Must be at least <%= field.minChars %> characters long <% } %> <% if(field.type == 'string' && !!field.maxChars){ %>Must be at max <%= field.maxChars %> characters long <% } %>
<% }); %>