blob: 5821ad2c832bbe44ac8bf519578eb219006705dc [file] [log] [blame]
vasraza86a4ce2021-06-11 19:02:58 +01001<!-- HTML for static distribution bundle build -->
Michael Landof5f13c42017-02-19 12:35:04 +02002<!DOCTYPE html>
vasraza86a4ce2021-06-11 19:02:58 +01003<html lang="en">
4 <head>
5 <meta charset="UTF-8">
6 <title>API Docs</title>
7 <link rel="stylesheet" type="text/css" href="./css/swagger-ui.css" />
8 <link rel="icon" type="image/png" href="./images/favicon-32x32.png" sizes="32x32" />
9 <link rel="icon" type="image/png" href="./images/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 }
Michael Landof5f13c42017-02-19 12:35:04 +020017
vasraza86a4ce2021-06-11 19:02:58 +010018 *,
19 *:before,
20 *:after
21 {
22 box-sizing: inherit;
23 }
Michael Landof5f13c42017-02-19 12:35:04 +020024
vasraza86a4ce2021-06-11 19:02:58 +010025 body
26 {
27 margin:0;
28 background: #fafafa;
29 }
30 </style>
31 </head>
Michael Landof5f13c42017-02-19 12:35:04 +020032
vasraza86a4ce2021-06-11 19:02:58 +010033 <body>
34 <div id="swagger-ui"></div>
35
36 <script src="./lib/swagger-ui-bundle.js" charset="UTF-8"> </script>
37 <script src="./lib/swagger-ui-standalone-preset.js" charset="UTF-8"> </script>
38 <script>
39 window.onload = function() {
40 let url = window.location.protocol + "//" + window.location.host;
Michael Landof5f13c42017-02-19 12:35:04 +020041 if (window.location.pathname.indexOf('/api-docs') > 0) {
42 url += window.location.pathname.substring(0, window.location.pathname.indexOf('/api-docs'))
43 }
Fiete Ostkamp81378322022-12-13 21:05:47 +000044 url += "/api-docs/openapi-sdce-1.json";
Michael Landof5f13c42017-02-19 12:35:04 +020045
vasraza86a4ce2021-06-11 19:02:58 +010046 // Begin Swagger UI call region
47 const ui = SwaggerUIBundle({
Michael Landof5f13c42017-02-19 12:35:04 +020048 url: url,
vasraza86a4ce2021-06-11 19:02:58 +010049 dom_id: '#swagger-ui',
50 deepLinking: true,
51 presets: [
52 SwaggerUIBundle.presets.apis,
53 SwaggerUIStandalonePreset
54 ],
55 plugins: [
56 SwaggerUIBundle.plugins.DownloadUrl
57 ],
58 layout: "StandaloneLayout"
Michael Landof5f13c42017-02-19 12:35:04 +020059 });
vasraza86a4ce2021-06-11 19:02:58 +010060 // End Swagger UI call region
Michael Landof5f13c42017-02-19 12:35:04 +020061
vasraza86a4ce2021-06-11 19:02:58 +010062 window.ui = ui;
63 };
Michael Landof5f13c42017-02-19 12:35:04 +020064 </script>
vasraza86a4ce2021-06-11 19:02:58 +010065 </body>
Michael Landof5f13c42017-02-19 12:35:04 +020066</html>