+window.onload = function() {\r
+ //<editor-fold desc="Changeable Configuration Block">\r
+\r
+ // the following lines will be replaced by docker/configurator, when it runs in a docker-container\r
+ window.ui = SwaggerUIBundle({\r
+ url: "../api.yaml",\r
+ dom_id: '#swagger-ui',\r
+ deepLinking: true,\r
+ // HERE:\r
+ persistAuthorization: true,\r
+ presets: [\r
+ SwaggerUIBundle.presets.apis,\r
+ SwaggerUIStandalonePreset\r
+ ],\r
+ plugins: [\r
+ SwaggerUIBundle.plugins.DownloadUrl\r
+ ],\r
+ layout: "StandaloneLayout"\r
+ });\r
+\r
+ //</editor-fold>\r
+};\r