Sha256: 0ded67c9dd0b9f78eabf412acef0563d1bcd7f6359e91082ad952eab93edb23f
Contents?: true
Size: 1002 Bytes
Versions: 2
Compression:
Stored size: 1002 Bytes
Contents
<script type="text/javascript"> $(function () { window.swaggerUi = new SwaggerUi({ discoveryUrl: '<%= discovery_url %>', <% if defined?(api_key) %> apiKey: '<%= api_key %>', <% end %> dom_id:"swagger-ui-container", supportHeaderParams: false, supportedSubmitMethods: ['get', 'post', 'put'], 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"> </div> <div id="swagger-ui-container" class="swagger-ui-wrap"></div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
swagger-ui_rails-0.0.2 | app/views/swagger_ui/_swagger_ui.html.erb |
swagger-ui_rails-0.0.1 | app/views/swagger_ui/_swagger_ui.html.erb |