Sha256: 5c6eb95b8207f819ec914e1e334048831ba4f5dc889325e7f944595e591331c3

Contents?: true

Size: 646 Bytes

Versions: 1

Compression:

Stored size: 646 Bytes

Contents

# API
## Hello World

<% namespace_store.each do |namespace| %>
## <%= namespace.name.capitalize %>

<% namespace.all_endpoints.each do |endpoint| %>
### <%= endpoint.name.capitalize %> [<%= endpoint.method.upcase %> <%= endpoint.full_path %>]

Returns schema **<%= endpoint.schema_name %>**

<% schema = schema_store.get(endpoint.schema_name) %>

|  Attribute  |             Type           |     Example    |
|-------------|:--------------------------:|---------------:|
<% schema.attributes.each do |name, attribute| %>
| <%= name %> | <%= attribute.type.to_s %> | <%= attribute.type.example_for(attribute) %> |
<% end %>

<% end %>

<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
restspec-0.0.4 lib/restspec/runners/docs/templates/docs.md.erb