lib/grape-slate/templates/document.md.erb
---
title: <%= name %> Reference
language_tabs:
- shell
toc_footers:
- <a href='#'>Sign Up for a Developer Key</a>
---
# <%= name %>
<%= description %>
<% resources.each do |resource| %>
# <%= resource.title %>
<% resource.namespaced.each do |grouped_resource| %>
<% grouped_resource.paths.each do |resource_by_path| %>
<% resource_by_path.routes.each do |route| %>
## <%= route.route_short_description %>
<%= shell_example(route, resource) %>
> The above command returns JSON structured like this:
```json
<%= resource.sample_response(route) %>
```
<%= route.route_description %>
### HTTP Method
`<%= route.route_method %>`
<%= properties_table(resource) %>
<% end %>
<% end %>
<% end %>
<% end %>