Name
Type
Description
<% _.each( _.keys( definitions ) ,function( definitionKey ){ var definition = definitions[ definitionKey ]; var definitionUid = _.uniqueId('definition_'); %>
<%= !_.isUndefined( definition.name ) ? definition.name : definitionKey %>
<% if( !_.isUndefined( definition.type ) ){ %> <%= definition.type %> <% } else { %> N/A <% } %>
<% if( definition.type === 'oauth2' ) { %> <% } %> <% if( !_.isUndefined( definition.in ) ){ %>

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

<% } %> <% if( !_.isUndefined( definition.description ) ){ %>

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

<% } else { %>

Definition description unavailable.

<% } %>
<% if( definition.type === 'oauth2' ) { %>

Authorization URL: <%=definition.authorizationUrl%>
<% if( !_.isUndefined( definition.tokenUrl ) ) { %> Token URL <%=definition.tokenUrl%>
<% } %> OAuth Flow <%=definition.flow%>

Scopes:
<%= formatJSONRaw( JSON.stringify( definition.scopes ) ).trim() %>
<% } %>
<% }); %>