Sha256: 50a3ebe16c0f1715fe8bc129b3da98f5ecba3bb13c5abd411551ce34b801a029
Contents?: true
Size: 1.92 KB
Versions: 7
Compression:
Stored size: 1.92 KB
Contents
<p id="notice"><%= notice %></p> <br /><h3>This API is Listed under Project - "<%= @api.project.name %>"</h3><br /> <h4>API Name : <%= @api.name %></h4> <pre class="prettyprint language-html prettyprinted" data-type="get" style=""> <code> <span class="pln"><strong class="green">URL: </strong><%= @api.url %></span><br /> <span class="pln"><strong class="green">Version: </strong><%= @api.version %></span><br /> <span class="pln"><strong class="green">Request: </strong><%= @api.request_type %></span><br /> <span class="pln"><strong class="green">API Group: </strong><%= @api.api_group %></span><br /> <span class="pln"><strong class="big-font">Parameters: </strong></span><br /> <% @api.parameters.each do |p|%> <span class="pln"><strong class="green">Name: </strong><%= p.name %></span><br /> <span class="pln"><strong class="green">Type: </strong><%= p.param_type%></span><br /> <span class="pln"><strong class="green">Note: </strong><%= p.note%></span><br /> <% end %> <span class="pln"><strong class="big-font">Succes Response: </strong></span><br /> <% @api.success_responses.each do |p|%> <span class="pln"><strong class="green">Note: </strong><%= p.note %></span><br /> <span class="pln"><strong class="green">Response: </strong></span><%= p.success_structure %><br /><br /> <% end %> <span class="pln"><strong class="big-font">Failure Responses: </strong></span><br /> <% @api.failure_responses.each do |p|%> <span class="pln"><strong class="green">Note: </strong><%= p.note%></span><br /> <span class="pln"><strong class="green">Type: </strong></span><%= p.failure_structure%><br /><br /> <% end %> </code> </pre> <%= link_to 'Edit', edit_project_api_path(@project, @api) %> | <%= link_to 'Back', project_apis_path(@project) %>
Version data entries
7 entries across 7 versions & 1 rubygems