% endpoint.responses.each do |response| %>
<% next unless response.success? %>
<% next if response.code.to_i == 204 %>
<% next unless response.content %>
<% id = SecureRandom.hex %>
<%= auto_expand_responses ? 'Hide' : 'View' %> response field descriptions
Response Fields
<% response.formats.each_with_index do |format, index| %>
<% if response.exhibits_one_of_multiple_schemas?(format) %>
<%= erb :'open_api/_response_tabs', locals: { format: format, response: response, content: :descriptions } %>
<% else %>
<% schema = response.schema(format) %>
<%= erb :'open_api/_response_fields', locals: { schema: schema, format: format, index: nil } %>
<% end %>
<% end %>
<% end %>