Matthias Andreas Benkard | b382b10 | 2021-01-02 15:32:21 +0100 | [diff] [blame] | 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> |
Matthias Andreas Benkard | 12a5735 | 2021-12-28 18:02:04 +0100 | [diff] [blame] | 7 | <link rel="stylesheet" type="text/css" href="./swagger-ui.css" /> |
Matthias Andreas Benkard | b382b10 | 2021-01-02 15:32:21 +0100 | [diff] [blame] | 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 | |
Matthias Andreas Benkard | 12a5735 | 2021-12-28 18:02:04 +0100 | [diff] [blame] | 36 | <script src="./swagger-ui-bundle.js" charset="UTF-8"> </script> |
| 37 | <script src="./swagger-ui-standalone-preset.js" charset="UTF-8"> </script> |
Matthias Andreas Benkard | b382b10 | 2021-01-02 15:32:21 +0100 | [diff] [blame] | 38 | <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 Benkard | 12a5735 | 2021-12-28 18:02:04 +0100 | [diff] [blame] | 53 | }); |
Matthias Andreas Benkard | b382b10 | 2021-01-02 15:32:21 +0100 | [diff] [blame] | 54 | // End Swagger UI call region |
| 55 | |
Matthias Andreas Benkard | 12a5735 | 2021-12-28 18:02:04 +0100 | [diff] [blame] | 56 | window.ui = ui; |
| 57 | }; |
Matthias Andreas Benkard | b382b10 | 2021-01-02 15:32:21 +0100 | [diff] [blame] | 58 | </script> |
| 59 | </body> |
| 60 | </html> |