|
1 | 1 | <!-- HTML for static distribution bundle build --> |
2 | 2 | <!DOCTYPE html> |
3 | 3 | <html lang="en"> |
4 | | - <head> |
| 4 | +<head> |
5 | 5 | <meta charset="UTF-8"> |
6 | 6 | <title>Remote Two/3 Core OpenAPI</title> |
7 | | - <!-- Get latest Swagger UI code and style from npm: https://unpkg.com/swagger-ui-dist@4/ --> |
| 7 | + <!-- Get latest Swagger UI code and style from npm: https://unpkg.com/swagger-ui-dist@5/ --> |
8 | 8 | <script src="./swagger-ui-bundle.js" charset="UTF-8"> </script> |
9 | 9 | <link rel="stylesheet" type="text/css" href="./swagger-ui.css" /> |
10 | 10 | <link rel="stylesheet" type="text/css" href="index.css" /> |
11 | 11 | <link rel="icon" href="./favicon.ico" /> |
12 | 12 | <link rel="icon" type="image/png" href="./favicon-32x32.png" sizes="32x32" /> |
13 | 13 | <link rel="icon" type="image/png" href="./favicon-16x16.png" sizes="16x16" /> |
14 | | - </head> |
| 14 | +</head> |
15 | 15 |
|
16 | | - <body> |
17 | | - <div id="swagger-ui"></div> |
18 | | - <script> |
19 | | - window.onload = function () { |
20 | | - const ui = SwaggerUIBundle({ |
| 16 | +<body> |
| 17 | +<div id="swagger-ui"></div> |
| 18 | +<script> |
| 19 | + window.onload = function () { |
| 20 | + const ui = SwaggerUIBundle({ |
21 | 21 | url: "UCR-core-openapi.yaml", |
22 | | - dom_id: '#swagger-ui', |
23 | | - deepLinking: true, |
24 | | - presets: [ |
25 | | - SwaggerUIBundle.presets.apis, |
26 | | - SwaggerUIBundle.SwaggerUIStandalonePreset |
27 | | - ], |
28 | | - plugins: [ |
29 | | - SwaggerUIBundle.plugins.DownloadUrl |
30 | | - ], |
31 | | - }) |
32 | | - window.ui = ui |
33 | | - } |
34 | | - </script> |
35 | | - </body> |
| 22 | + dom_id: '#swagger-ui', |
| 23 | + deepLinking: true, |
| 24 | + presets: [ |
| 25 | + SwaggerUIBundle.presets.apis, |
| 26 | + SwaggerUIBundle.SwaggerUIStandalonePreset |
| 27 | + ], |
| 28 | + plugins: [ |
| 29 | + SwaggerUIBundle.plugins.DownloadUrl |
| 30 | + ], |
| 31 | + }) |
| 32 | + window.ui = ui |
| 33 | + } |
| 34 | +</script> |
| 35 | +</body> |
36 | 36 | </html> |
0 commit comments