github.com/Finschia/finschia-sdk@v0.48.1/client/docs/swagger-ui/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>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 { 13 box-sizing: border-box; 14 overflow: -moz-scrollbars-vertical; 15 overflow-y: scroll; 16 } 17 18 *, 19 *:before, 20 *:after 21 { 22 box-sizing: inherit; 23 } 24 25 body 26 { 27 margin:0; 28 background: #fafafa; 29 } 30 </style> 31 </head> 32 33 <body> 34 <div id="swagger-ui"></div> 35 36 <script src="swagger-ui-bundle.js"> </script> 37 <script src="swagger-ui-standalone-preset.js"> </script> 38 <script> 39 window.onload = function() { 40 41 // Build a system 42 const ui = SwaggerUIBundle({ 43 url: "./swagger.yaml", 44 dom_id: '#swagger-ui', 45 deepLinking: true, 46 queryConfigEnabled: false, 47 presets: [ 48 SwaggerUIBundle.presets.apis, 49 SwaggerUIStandalonePreset 50 ], 51 plugins: [ 52 SwaggerUIBundle.plugins.DownloadUrl 53 ], 54 layout: "StandaloneLayout" 55 }) 56 57 window.ui = ui 58 } 59 </script> 60 </body> 61 </html>