<%= notice %>
URL: <%= @api.url %>
Version: <%= @api.version %>
Request: <%= @api.request_type %>
API Group: <%= @api.api_group %>
Parameters:
<% @api.parameters.each do |p|%>
Name: <%= p.name %>
Type: <%= p.param_type%>
Note: <%= p.note%>
<% end %>
Succes Response:
<% @api.success_responses.each do |p|%>
Note: <%= p.note %>
Response: <%= p.success_structure %>
<% end %>
Failure Responses:
<% @api.failure_responses.each do |p|%>
Note: <%= p.note%>
Type: <%= p.failure_structure%>
<% end %>
<%= link_to 'Edit', edit_project_api_path(@project, @api) %> |
<%= link_to 'Back', project_apis_path(@project) %>