lib/restspec/runners/docs/templates/docs.md.erb in restspec-0.0.4 vs lib/restspec/runners/docs/templates/docs.md.erb in restspec-0.1
- old
+ new
@@ -1,9 +1,9 @@
# API
## Hello World
-<% namespace_store.each do |namespace| %>
-## <%= namespace.name.capitalize %>
+<% namespace_store.each do |name, namespace| %>
+## <%= name.capitalize %>
<% namespace.all_endpoints.each do |endpoint| %>
### <%= endpoint.name.capitalize %> [<%= endpoint.method.upcase %> <%= endpoint.full_path %>]
Returns schema **<%= endpoint.schema_name %>**