Sha256: 8d868f805a3f7051d262a413e212305d06b7dd65d7adcac7629b0bff35f36aea
Contents?: true
Size: 663 Bytes
Versions: 2
Compression:
Stored size: 663 Bytes
Contents
window.onload = function() { //<editor-fold desc="Changeable Configuration Block"> // the following lines will be replaced by docker/configurator, when it runs in a docker-container window.ui = SwaggerUIBundle({ url: "/docs/api/v1/paths/index.yaml", dom_id: '#swagger-ui', deepLinking: true, presets: [ SwaggerUIBundle.presets.apis, SwaggerUIStandalonePreset ], plugins: [ SwaggerUIBundle.plugins.DownloadUrl ], layout: "StandaloneLayout", requestInterceptor: (req) => { req.headers["Authorization"] = "Bearer " + req.headers["Authorization"] return req } }); //</editor-fold> };
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
n_base_rails-0.1.2 | lib/public/swagger/v1/swagger-initializer.js |
n_base_rails-0.1.1 | lib/public/swagger/v1/swagger-initializer.js |