<%= render_erb('shared/endpoint_name.html.erb', endpoint_presenter.get_binding) %>
<%= description %>
<% if show_request? %>
<%= tag_with_anchor('h2', 'Request') %>
<%= tag_with_anchor('h3', 'Example Request') %>
<%= example_request.to_html %>
<%= tag_with_anchor('h3', 'Request Parameters') %>
<%= request_parameters.to_html %>
<% end %>
<%= tag_with_anchor('h2', 'Response') %>
<% if show_response? %>
<%= tag_with_anchor('h3', 'Example Response') %>
<%= example_response.to_html %>
<%= tag_with_anchor('h3', 'Response Parameters') %>
<%= response_parameters.to_html %>
<% end %>
<%= tag_with_anchor('h3', 'Response Codes') %>
<% if !successful_response_codes.empty? %>
<%= tag_with_anchor('h4', 'Successful Response Codes') %>
<% successful_response_codes.each do |response_code| %>
-
<%= response_code.to_html %>
<% end %>
<% end %>
<% if !successful_response_codes.empty? %>
<%= tag_with_anchor('h4', 'Failure Response Codes') %>
<% failure_response_codes.each do |response_code| %>
-
<%= response_code.to_html %>
<% end %>
<% end %>