Sha256: bf143683e073ae0476b9bf3b03f78d140730f5dbef35136cdd73a363c405303c

Contents?: true

Size: 1.32 KB

Versions: 3

Compression:

Stored size: 1.32 KB

Contents

<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <meta http-equiv="x-ua-compatible" content="IE=edge">
    <title>Swagger UI</title>
    <link rel="icon" type="image/png" href="<%= image_path('swagger_ui_engine/favicon-32x32.png') %>" sizes="32x32" />
    <link rel="icon" type="image/png" href="<%= image_path('swagger_ui_engine/favicon-16x16.png') %>" sizes="16x16" />

    <%= stylesheet_link_tag "swagger_ui_engine/application", media: "screen" %>
    <%= stylesheet_link_tag "swagger_ui_engine/print", media: "print" %>

    <%= javascript_include_tag "swagger_ui_engine/application" %>
    <%= csrf_meta_tags %>

  </head>

  <body class="swagger-section">
    <div id='header'>
      <div class="swagger-ui-wrap">
        <a id="logo" href="http://swagger.io"><img class="logo__img" alt="swagger" height="30" width="30" src="<%= image_path('swagger_ui_engine/logo_small.png') %>" /><span class="logo__title">swagger</span></a>
      </div>
    </div>

    <div id="message-bar" class="swagger-ui-wrap" data-sw-translate>&nbsp;</div>
    <div id="swagger-ui-container" class="swagger-ui-wrap">
      <ul>
        <h2> API documentations: </h2>
        <% @swagger_url.each_key do |k| %>
          <li>
            <h1> <%= link_to k, doc_path(k) %> </h1>
          </li>
        <% end %>
      </ul>
    </div>
  </body>
</html>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
swagger_ui_engine-1.0.2 app/views/swagger_ui_engine/docs/index.html.erb
swagger_ui_engine-1.0.1 app/views/swagger_ui_engine/docs/index.html.erb
swagger_ui_engine-1.0.0 app/views/swagger_ui_engine/docs/index.html.erb