generated from hmcts/spring-boot-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
48 lines (47 loc) · 2 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta
name="description"
content="SwaggerUI"
/>
<title>Modernised DARTS SwaggerUI</title>
<link rel="stylesheet" href="https://unpkg.com/[email protected]/swagger-ui.css"/>
</head>
<body>
<div id="swagger-ui"></div>
<script src="https://unpkg.com/[email protected]/swagger-ui-bundle.js" crossorigin></script>
<script src="https://unpkg.com/[email protected]/swagger-ui-standalone-preset.js" crossorigin></script>
<script>
window.onload = () => {
window.ui = SwaggerUIBundle({
urls: [
{url: "src/main/resources/openapi/annotations.yaml", name: "Annotations"},
{url: "src/main/resources/openapi/audio.yaml", name: "Audio"},
{url: "src/main/resources/openapi/audiorequests.yaml", name: "Audio Requests"},
{url: "src/main/resources/openapi/cases.yaml", name: "Cases"},
{url: "src/main/resources/openapi/common.yaml", name: "Common"},
{url: "src/main/resources/openapi/courthouse.yaml", name: "Courthouses"},
{url: "src/main/resources/openapi/dailylist.yaml", name: "Daily Lists"},
{url: "src/main/resources/openapi/event.yaml", name: "Events"},
{url: "src/main/resources/openapi/hearings.yaml", name: "Hearings"},
{url: "src/main/resources/openapi/noderegistration.yaml", name: "Devices"},
{url: "src/main/resources/openapi/retentions.yaml", name: "Retentions"},
{url: "src/main/resources/openapi/tasks.yaml", name: "Tasks"},
{url: "src/main/resources/openapi/transcriptions.yaml", name: "Transcriptions"},
{url: "src/main/resources/openapi/usermanagement.yaml", name: "User Management"},
],
queryConfigEnabled: true,
dom_id: '#swagger-ui',
presets: [
SwaggerUIBundle.presets.apis,
SwaggerUIStandalonePreset
],
layout: "StandaloneLayout",
});
};
</script>
</body>
</html>