onload = function() {
        const ui = SwaggerUIBundle({
          url: "https://grafana.github.io/alerting-api/spec.json?cachebuster=" + Math.random(),
          dom_id: '#swagger-ui',
          deepLinking: true,
          presets: [
            SwaggerUIBundle.presets.apis,
            SwaggerUIStandalonePreset
          ],
          plugins: [
            SwaggerUIBundle.plugins.DownloadUrl
          ],
          layout: "StandaloneLayout"
        })
        window.ui = ui
      }
  </script>
  </body