Sha256: ca37109758c7e2edf0b37c174be6a0c5a8c3f8c803c3e0371d26402d9ecc8315

Contents?: true

Size: 1.39 KB

Versions: 12

Compression:

Stored size: 1.39 KB

Contents

<!-- HTML for static distribution bundle build -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <title>Swagger UI</title>
    <link rel="stylesheet" type="text/css" href="dist/swagger-ui.css" >
    <link rel="icon" type="image/png" href="dist/favicon-32x32.png" sizes="32x32" />
    <link rel="icon" type="image/png" href="dist/favicon-16x16.png" sizes="16x16" />
    <style>
      html
      {
        box-sizing: border-box;
        overflow: -moz-scrollbars-vertical;
        overflow-y: scroll;
      }

      *,
      *:before,
      *:after
      {
        box-sizing: inherit;
      }

      body
      {
        margin:0;
        background: #fafafa;
      }
    </style>
  </head>

  <body>
    <div id="swagger-ui"></div>

    <script src="dist/swagger-ui-bundle.js"> </script>
    <script src="dist/swagger-ui-standalone-preset.js"> </script>
    <script>
    window.onload = function() {
      // Begin Swagger UI call region
      const ui = SwaggerUIBundle({
        url: "<%= @schema_file_path %>",
        dom_id: '#swagger-ui',
        deepLinking: true,
        presets: [
          SwaggerUIBundle.presets.apis,
          SwaggerUIStandalonePreset
        ],
        plugins: [
          SwaggerUIBundle.plugins.DownloadUrl
        ],
        layout: "StandaloneLayout"
      })
      // End Swagger UI call region

      window.ui = ui
    }
  </script>
  </body>
</html>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
r2-oas-0.5.0 lib/r2-oas/deploy/swagger-ui/index.html.erb
r2-oas-0.4.1 lib/r2-oas/deploy/swagger-ui/index.html.erb
r2-oas-0.4.0 lib/r2-oas/deploy/swagger-ui/index.html.erb
r2-oas-0.3.4 lib/r2-oas/deploy/swagger-ui/index.html.erb
r2-oas-0.3.3 lib/r2-oas/deploy/swagger-ui/index.html.erb
r2-oas-0.3.2 lib/r2-oas/deploy/swagger-ui/index.html.erb
r2-oas-0.3.1 lib/r2-oas/deploy/swagger-ui/index.html.erb
r2-oas-0.3.0 lib/r2-oas/deploy/swagger-ui/index.html.erb
r2-oas-0.2.0 lib/r2-oas/deploy/swagger-ui/index.html.erb
r2-oas-0.1.3 lib/r2-oas/deploy/swagger-ui/index.html.erb
r2-oas-0.1.2 lib/r2-oas/deploy/swagger-ui/index.html.erb
r2-oas-0.1.0 lib/r2-oas/deploy/swagger-ui/index.html.erb