<%= beautify resource.to_xml(options), :xml %>
JSON support is experimental and it's subject to change in the future
<%= beautify resource.to_json(options), :json %>
<%= metadata[:name] %>
<%= metadata_text metadata[:desc] %>
<% if metadata[:attributes].present? %>
Attributes
<% metadata[:attributes].each do |name, options| %>
- <%= name %>
- <%= metadata_text options[:desc] %>
<% end %>
<% end %>
<% if metadata[:links].present? %>
Links
<% metadata[:links].each do |name, options| %>
- <%= name %>
- <%= metadata_text options[:desc] %>
<% end %>
<% end %>