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> |
| 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 | // 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" |
| 53 | }) |
| 54 | // End Swagger UI call region |
| 55 | |
| 56 | window.ui = ui |
| 57 | } |
| 58 | </script> |
| 59 | </body> |
| 60 | </html> |