|
5 | 5 | <meta name="viewport" content="width=device-width, initial-scale=1" /> |
6 | 6 | <meta |
7 | 7 | name="description" |
8 | | - content="SwaggerIU" |
| 8 | + content="HyperFleet Core API — Swagger UI" |
| 9 | + /> |
| 10 | + <title>HyperFleet Core API — Swagger UI</title> |
| 11 | + <link |
| 12 | + rel="stylesheet" |
| 13 | + href="https://cdn.jsdelivr.net/npm/swagger-ui-dist@5.32.6/swagger-ui.css" |
| 14 | + integrity="sha384-9Q2fpS+xeS4ffJy6CagnwoUl+4ldAYhOs9pgZuEKxypVModhmZFzeMlvVsAjf7uT" |
| 15 | + crossorigin="anonymous" |
9 | 16 | /> |
10 | | - <title>SwaggerUI</title> |
11 | | - <link rel="stylesheet" href="https://unpkg.com/swagger-ui-dist@4.4.1/swagger-ui.css" /> |
12 | 17 | </head> |
13 | 18 | <body> |
14 | 19 | <div id="swagger-ui"></div> |
15 | | - <script src="https://unpkg.com/swagger-ui-dist@4.4.1/swagger-ui-bundle.js" crossorigin></script> |
16 | | - <script src="https://unpkg.com/swagger-ui-dist@4.4.1/swagger-ui-standalone-preset.js" crossorigin></script> |
| 20 | + <script |
| 21 | + src="https://cdn.jsdelivr.net/npm/swagger-ui-dist@5.32.6/swagger-ui-bundle.js" |
| 22 | + integrity="sha384-EYdOaiRwn44zNjrw+Tfs06qYz9BGQVo2f4/pLY5i7VorbjnZNhdplAbTBk8FXHUJ" |
| 23 | + crossorigin="anonymous" |
| 24 | + ></script> |
| 25 | + <script |
| 26 | + src="https://cdn.jsdelivr.net/npm/swagger-ui-dist@5.32.6/swagger-ui-standalone-preset.js" |
| 27 | + integrity="sha384-49fpFaVrAWI/qdgl9Vv5E/4NXxRUiJX5vGuLws1NUpTWGtEqzWEx8gHTw2UTehFK" |
| 28 | + crossorigin="anonymous" |
| 29 | + ></script> |
17 | 30 | <script> |
18 | 31 | window.onload = () => { |
19 | 32 | window.ui = SwaggerUIBundle({ |
20 | | - url: 'https://raw.githubusercontent.com/openshift-hyperfleet/hyperfleet-api/refs/heads/main/openapi/openapi.yaml', |
| 33 | + url: 'https://raw.githubusercontent.com/openshift-hyperfleet/hyperfleet-api-spec/refs/heads/main/schemas/core/openapi.yaml', |
21 | 34 | dom_id: '#swagger-ui', |
| 35 | + deepLinking: true, |
| 36 | + presets: [ |
| 37 | + SwaggerUIBundle.presets.apis, |
| 38 | + SwaggerUIStandalonePreset, |
| 39 | + ], |
| 40 | + layout: 'StandaloneLayout', |
22 | 41 | }); |
23 | 42 | }; |
24 | 43 | </script> |
|
0 commit comments