lib/grape-slate/templates/document.md.erb in grape-slate-0.0.3 vs lib/grape-slate/templates/document.md.erb in grape-slate-0.0.4

- old
+ new

@@ -15,25 +15,23 @@ <% 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_description %> +## <%= 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 Request +### HTTP Method `<%= route.route_method %>` - -### URL Parameters <%= properties_table(resource) %> <% end %> <% end %>