window.onload = function() {
  window.ui = SwaggerUIBundle({
    url: "/v3/api-docs/default",
    configUrl: "/v3/api-docs/swagger-config",
    dom_id: '#swagger-ui',
    deepLinking: true,
    presets: [
      SwaggerUIBundle.presets.apis,
      SwaggerUIStandalonePreset
    ],
    plugins: [
      SwaggerUIBundle.plugins.DownloadUrl
    ],
    layout: "StandaloneLayout",
    tagsSorter: "alpha",
    validatorUrl: "",
    persistAuthorization: true
  });
};
