blob: 907470dab1299b688d8ae26976ef66dd85dff5ef [file] [log] [blame]
Matthias Andreas Benkardb382b102021-01-02 15:32:21 +01001<!-- 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>
Matthias Andreas Benkard12a57352021-12-28 18:02:04 +01007 <link rel="stylesheet" type="text/css" href="./swagger-ui.css" />
Matthias Andreas Benkardb382b102021-01-02 15:32:21 +01008 <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
Matthias Andreas Benkard12a57352021-12-28 18:02:04 +010036 <script src="./swagger-ui-bundle.js" charset="UTF-8"> </script>
37 <script src="./swagger-ui-standalone-preset.js" charset="UTF-8"> </script>
Matthias Andreas Benkardb382b102021-01-02 15:32:21 +010038 <script>
39 window.onload = function() {
40 // Begin Swagger UI call region
41 const ui = SwaggerUIBundle({
42 url: "/api/openapi.yaml",
43 dom_id: '#swagger-ui',
44 deepLinking: true,
45 presets: [
46 SwaggerUIBundle.presets.apis,
47 SwaggerUIStandalonePreset
48 ],
49 plugins: [
50 SwaggerUIBundle.plugins.DownloadUrl
51 ],
52 layout: "StandaloneLayout"
Matthias Andreas Benkard12a57352021-12-28 18:02:04 +010053 });
Matthias Andreas Benkardb382b102021-01-02 15:32:21 +010054 // End Swagger UI call region
55
Matthias Andreas Benkard12a57352021-12-28 18:02:04 +010056 window.ui = ui;
57 };
Matthias Andreas Benkardb382b102021-01-02 15:32:21 +010058 </script>
59 </body>
60</html>