window.onload = function() { // // the following lines will be replaced by docker/configurator, when it runs in a docker-container window.ui = SwaggerUIBundle({ urls: [ {url: "spec/mailbox.yml", name: "Mailbox"}, {url: "spec/mailmaster.yml", name: "Mail Master"}, {url: "spec/mailconfig.yml", name: "Mail Config"}, {url: "spec/nginxconfig.yml", name: "NGINX Config"}, ], "urls.primaryName": "NGINX Config", // default document (if other than the first) dom_id: '#swagger-ui', deepLinking: true, presets: [ SwaggerUIBundle.presets.apis, SwaggerUIStandalonePreset ], plugins: [ SwaggerUIBundle.plugins.DownloadUrl ], layout: "StandaloneLayout" }); // };