Sha256: ef5186268725099611f7ebd705fb6504cf292cdc9a3fc89d5c3212ab62049eb7
Contents?: true
Size: 941 Bytes
Versions: 1
Compression:
Stored size: 941 Bytes
Contents
FORMAT: 1A HOST: <%= host %> # <%= name %> <%= description %> <% resources.each do |resource| %> # Group <%= resource.title %> <% resource.namespaced.each do |grouped_resource| %> <% grouped_resource.paths.each do |resource_by_path| %> ## <%= resource.header %> Actions on the <%= resource.name %> resource <% if resource_by_path.routes.first.route_params.present? %> + Parameters <% resource_by_path.routes.first.route_params.each do |param| %> + <%= param.description %> <% end %> <% end %> <% resource_by_path.routes.each do |route| %> ### <%= route.route_description %> <% if show_request_sample?(route) %> <%= route.request_description %> <%= formatted_request_headers %> + Body <%= resource.sample_request %> <% end %> <%= route.response_description %> <%= formatted_response_headers %> + Body <%= resource.sample_response %> <% end %> <% end %> <% end %> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
grape-apiary-0.0.4 | lib/grape-apiary/templates/blueprint.md.erb |