Advertisement
Guest User

random

a guest
Mar 27th, 2021
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.87 KB | None | 0 0
  1.   11:29:37.456  <!-- HTML for static distribution bundle build -->
  2. <!DOCTYPE html>
  3. <html lang="en">
  4. <head>
  5.   <meta charset="UTF-8">
  6.   <title>Fungenerators API</title>
  7.   <meta name="viewport" content="width=device-width, initial-scale=1.0">
  8.   <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700|Source+Code+Pro:300,600|Titillium+Web:400,600,700" rel="stylesheet">
  9.   <link rel="stylesheet" type="text/css" href="/docs/swagger-ui.css" >
  10.   <link rel="icon" type="image/x-icon" href="/favicon.ico"  />
  11. <script src="/docs/swagger-ui-bundle.js"> </script>
  12. <script src="/docs/swagger-ui-standalone-preset.js"> </script>
  13.   <style>
  14.     html
  15.     {
  16.         box-sizing: border-box;
  17.         overflow: -moz-scrollbars-vertical;
  18.         overflow-y: scroll;
  19.     }
  20.     *,
  21.     *:before,
  22.     *:after
  23.     {
  24.         box-sizing: inherit;
  25.     }
  26.  
  27.     body {
  28.       margin:0;
  29.       background: #fafafa;
  30.     }
  31.  
  32.     .swagger-ui .topbar {
  33.        display: none;
  34.     }
  35.  
  36.     .download-url-wrapper {
  37.       position: absolute;
  38.       display: none;
  39.       width: 0px;
  40.       height: 0px;
  41.       top: -100px;
  42.       right: -100px;
  43.     }
  44.  
  45.     #swagger-ui
  46.     {
  47.        margin-bottom: 100px;
  48.     }
  49.  
  50.     .tso-topbar {
  51.         width: 100%;
  52.         padding: 20px 0;
  53.         background-color: #1b1b1b;
  54.         padding-left: 10%;
  55.         padding-right: 10%;
  56.         min-height: 50px;
  57.     }
  58.     .tso-text-center {
  59.     }
  60.  
  61.     ul.tso-top-menu {
  62.         list-style-type: none;
  63.         margin: 0;
  64.         padding: 0;
  65.         color: #eee;
  66.     }
  67.  
  68.     ul.tso-top-menu a {
  69.        text-decoration: none;
  70.         color: #eee;
  71.     }
  72.  
  73. .tso-top-menu li {
  74.   float: left;
  75. }
  76.  
  77. .tso-top-menu li a {
  78.   display: block;
  79.   padding-right: 25px;
  80. }
  81.   </style>
  82. </head>
  83.  
  84. <body>
  85. <div class="tso-topbar">
  86.       <nav id="tso-top-menu text-center">
  87.           <ul class="tso-top-menu">
  88.             <li><a href="/"><img src="https://fungenerators.com/branding/branding.png" width="35" ></a></li>
  89.             <li><a href="https://fungenerators.com/">Fungenerators</a></li>
  90.           </ul>
  91.       </nav>
  92. </div>
  93.  
  94. <div id="swagger-ui"></div>
  95.  
  96. <script>
  97. window.onload = function() {
  98.   // Build a system
  99.   var yamlurl =  "http://api.fungenerators.com/yaml/fungenerators.openapi.yaml?v4";
  100.   if (location.protocol === 'https:') {
  101.      var yamlurl =  "https://api.fungenerators.com/yaml/fungenerators.openapi.yaml?v4";
  102.   }
  103.   const ui = SwaggerUIBundle({
  104.     url: yamlurl,
  105.     dom_id: '#swagger-ui',
  106.     //validatorUrl: "",
  107.     supportedSubmitMethods: ['get', 'post', 'put', 'delete', 'patch'],
  108.     presets: [
  109.       SwaggerUIBundle.presets.apis,
  110.       SwaggerUIStandalonePreset
  111.     ],
  112.     plugins: [
  113.       SwaggerUIBundle.plugins.DownloadUrl
  114.     ],
  115.     jsonEditor: false,
  116.     showRequestHeaders: true,
  117.     layout: "StandaloneLayout"
  118.   })
  119.  
  120.   window.ui = ui
  121. }
  122. </script>
  123. </body>
  124.  
  125. </html>
  126.  
  127.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement