<% var params = entity.parameters; %>
Name
Type
Description
Req?
<% _.each( params ,function( param ){ var paramUid = _.uniqueId('param_'); %>
<%= param.name %>
<% if( !_.isUndefined( param.type ) && ( !_.isUndefined(param.in) || param.in !== 'body' ) ){ %> <%= param.type %> <% } else if( !_.isUndefined( param.type ) && !_.isUndefined( param.schema ) && !_.isUndefined(param.schema.type) ) { %> <%= param.schema.type %> (body) <% } else if( _.isUndefined( param.type ) ) { %> N/A <% } %>

<%= param.description.replace(/(?:\r\n|\r|\n)/g, '
') %>

<% if( !_.isUndefined( param.in ) ){ %>

Provided in the <%=param.in%> of the request

<% } %>
<% if( !_.isUndefined( param.schema ) ) { %> <% } %>
<% if( !_.isUndefined( param.schema ) ) { %>
<%= formatJSONRaw( JSON.stringify( param.schema ) ).trim() %>
<% } %>
<% }) %>