Sha256: 8e48f88abefe9d5761399f6a62294969100093ef7de6460f9aaf69e85acb9553

Contents?: true

Size: 1013 Bytes

Versions: 7

Compression:

Stored size: 1013 Bytes

Contents

<script type="text/javascript">
  $(function () {
    window.swaggerUi = new SwaggerUi({
      url: '<%= discovery_url %>',
      <% if defined?(api_key) %>
        apiKey: '<%= api_key %>',
      <% end %>
      dom_id:"swagger-ui-container",
      supportHeaderParams: false,
      supportedSubmitMethods: ['get', 'post', 'put', 'delete', 'patch'],
      onComplete: function(swaggerApi, swaggerUi){
        if(console) {
              console.log("Loaded SwaggerUI")
              console.log(swaggerApi);
              console.log(swaggerUi);
          }
        $('pre code').each(function(i, e) {hljs.highlightBlock(e)});
      },
      onFailure: function(data) {
        if(console) {
              console.log("Unable to Load SwaggerUI");
              console.log(data);
          }
      },
      docExpansion: "none"
    });

    window.swaggerUi.load();
  });

</script>

<div id="message-bar" class="swagger-ui-wrap">
    &nbsp;
</div>

<div id="swagger-ui-container" class="swagger-ui-wrap"></div>

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
swagger-ui_rails_audionerd-2.3.2 app/views/swagger_ui/_swagger_ui.html.erb
swagger-ui_rails_audionerd-2.3.1 app/views/swagger_ui/_swagger_ui.html.erb
swagger-ui_rails_audionerd-2.3.0 app/views/swagger_ui/_swagger_ui.html.erb
swagger-ui_rails_audionerd-2.1.1 app/views/swagger_ui/_swagger_ui.html.erb
swagger-ui_rails-2.1.0.alpha.7.1 app/views/swagger_ui/_swagger_ui.html.erb
swagger-ui_rails-2.1.0.pre.alpha.7.1 app/views/swagger_ui/_swagger_ui.html.erb
swagger-ui_rails-2.1.0.pre.alpha.7 app/views/swagger_ui/_swagger_ui.html.erb