<link rel="stylesheet" type="text/css" href="http://petstore.swagger.io/swagger-ui.css" >
<div id="ui"></div>
<script src="http://petstore.swagger.io/swagger-ui-bundle.js"> </script>
<script src="http://petstore.swagger.io/swagger-ui-standalone-preset.js"> </script>
<script>
    window.onload = function() {
        // Build a system
        const ui = SwaggerUIBundle({
            url: "{{schema_url}}",
            dom_id: '#ui',
            presets: [
                SwaggerUIBundle.presets.apis,
                SwaggerUIStandalonePreset
            ],
            plugins: [
                SwaggerUIBundle.plugins.DownloadUrl
            ],
            layout: "StandaloneLayout"
        })

    window.ui = ui
}
</script>
