<%= definition.info['title'] %>

<% if definition.info['x-label'] %>
<%= definition.info['x-label'] %>
<% end %>
<% if definition.info['description'] %>

<%= definition.info['description'].render_markdown %>

<% end %> <% # If there's only one group, everything is untagged if @specification.groups.size === 1 %> <%= erb :'open_api/_available_endpoints', locals: { endpoints: definition.endpoints } %> <% end %>
<% has_switcher = @specification.available_versions && @specification.available_versions.count > 1 %>
<% if has_switcher %>

There are multiple versions of this API available

<% @specification.available_versions.each do |v| %> >Version <%= v['version'] %> <%= '|' unless v == @specification.available_versions.last %> <% end %>

<% end %>