Description
<%= @resource.description %>
Headers
<% @resource.headers.each do |key, content| %>
<%= key %>
<% end %>
<%= content %>
Parameters
<% @resource.params.each do |key, content| %>
<%= key %>
<%= content['required'] ? 'required' : 'optional' %>, type: <%= content['type'] %>
<% end %>
<%= content['description'] %>
Example Response
<%= pj @resource.response %>