github.com/kyma-project/kyma-environment-broker@v0.0.1/files/swagger/index.html (about) 1 <!-- HTML for static distribution bundle build --> 2 <!DOCTYPE html> 3 <html lang="en"> 4 <head> 5 <meta charset="UTF-8"> 6 <title>KEB Swagger UI</title> 7 <link rel="stylesheet" type="text/css" href="./swagger-ui.css"/> 8 <link rel="icon" type="image/png" href="./favicon-32x32.png" sizes="32x32" /> 9 <link rel="icon" type="image/png" href="./favicon-16x16.png" sizes="16x16" /> 10 <style> 11 html { 12 box-sizing: border-box; 13 overflow: -moz-scrollbars-vertical; 14 overflow-y: scroll; 15 } 16 17 *, 18 *:before, 19 *:after { 20 box-sizing: inherit; 21 } 22 23 body { 24 margin: 0; 25 background: #fafafa; 26 } 27 </style> 28 </head> 29 30 <body> 31 <div id="swagger-ui"></div> 32 33 <script src="./swagger-ui-bundle.js" charset="UTF-8"></script> 34 <script src="./swagger-ui-standalone-preset.js" charset="UTF-8"></script> 35 <script> 36 window.onload = function () { 37 window.ui = SwaggerUIBundle({ 38 url: "./swagger.yaml", 39 dom_id: '#swagger-ui', 40 deepLinking: true, 41 presets: [ 42 SwaggerUIBundle.presets.apis, 43 SwaggerUIStandalonePreset 44 ], 45 plugins: [ 46 SwaggerUIBundle.plugins.DownloadUrl 47 ], 48 layout: "StandaloneLayout" 49 }); 50 }; 51 </script> 52 </body> 53 </html>