1 <!-- HTML for static distribution bundle build -->
6 <title>API Docs</title>
7 <link rel="stylesheet" type="text/css" href="./css/swagger-ui.css" />
8 <link rel="icon" type="image/png" href="./images/favicon-32x32.png" sizes="32x32" />
9 <link rel="icon" type="image/png" href="./images/favicon-16x16.png" sizes="16x16" />
13 box-sizing: border-box;
14 overflow: -moz-scrollbars-vertical;
34 <div id="swagger-ui"></div>
36 <script src="./lib/swagger-ui-bundle.js" charset="UTF-8"> </script>
37 <script src="./lib/swagger-ui-standalone-preset.js" charset="UTF-8"> </script>
39 window.onload = function() {
40 let url = window.location.protocol + "//" + window.location.host;
41 if (window.location.pathname.indexOf('/api-docs') > 0) {
42 url += window.location.pathname.substring(0, window.location.pathname.indexOf('/api-docs'))
44 url += "/api-docs/swagger-sdce-1.json";
46 // Begin Swagger UI call region
47 const ui = SwaggerUIBundle({
49 dom_id: '#swagger-ui',
52 SwaggerUIBundle.presets.apis,
53 SwaggerUIStandalonePreset
56 SwaggerUIBundle.plugins.DownloadUrl
58 layout: "StandaloneLayout"
60 // End Swagger UI call region