<%= endpoint.summary %>
<%= method.toUpperCase() %><%= path %>
<%= endpoint.description %>
<% if (endpoint.consumes && endpoint.consumes.legnth) { %>
Accepts: <%= endpoint.consumes.join(', ')%> | Produces: <%= endpoint.produces.join(', ') %>
<% } %>
Parameters
<% if (endpoint.parameters.length) { %>
<%
for (var i = 0; i < endpoint.parameters.length; i++) {
var parameter = endpoint.parameters[i];
%>
- <%= parameter.name %>
<% } %>
<% } else { %>
There are no parameters
<% } %>
Responses
<% if (endpoint.responses.length) { %>
<% } else { %>
There are no responses
<% } %>
<% } %>
<% } %>