github.com/resonatecoop/user-api@v1.0.0-13.0.20220915120639-05dc9c04014a/third_party/OpenAPI/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
     9        rel="icon"
    10        type="image/png"
    11        href="./favicon-32x32.png"
    12        sizes="32x32"
    13      />
    14      <link
    15        rel="icon"
    16        type="image/png"
    17        href="./favicon-16x16.png"
    18        sizes="16x16"
    19      />
    20      <style>
    21        html {
    22          box-sizing: border-box;
    23          overflow: -moz-scrollbars-vertical;
    24          overflow-y: scroll;
    25        }
    26  
    27        *,
    28        *:before,
    29        *:after {
    30          box-sizing: inherit;
    31        }
    32  
    33        body {
    34          margin: 0;
    35          background: #fafafa;
    36        }
    37  
    38        .topbar-wrapper img[alt="Swagger UI"],
    39        .topbar-wrapper span {
    40          visibility: collapse;
    41        }
    42  
    43        .topbar-wrapper .link:after {
    44          content: url("/resonate_logo.png");
    45          width: 60px !important;
    46          height: 60px;
    47          display: flex;
    48        }
    49      </style>
    50    </head>
    51  
    52    <body>
    53      <div id="swagger-ui"></div>
    54  
    55      <script src="./swagger-ui-bundle.js" charset="UTF-8"></script>
    56      <script src="./swagger-ui-standalone-preset.js" charset="UTF-8"></script>
    57      <script>
    58        window.onload = function () {
    59          // Begin Swagger UI call region
    60          const ui = SwaggerUIBundle({
    61            urls: [
    62                  {url: "/user/user.swagger.json", name: "user-api"},
    63              ],
    64            dom_id: "#swagger-ui",
    65            deepLinking: true,
    66            presets: [SwaggerUIBundle.presets.apis, SwaggerUIStandalonePreset],
    67            plugins: [SwaggerUIBundle.plugins.DownloadUrl, SwaggerUIBundle.plugins.TopBar],
    68            layout: "StandaloneLayout",
    69          });
    70          // End Swagger UI call region
    71  
    72          window.ui = ui;
    73        };
    74      </script>
    75    </body>
    76  </html>