forked from hmcts/darts-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
45 lines (44 loc) · 1.76 KB
/
index.html
File metadata and controls
45 lines (44 loc) · 1.76 KB
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
<!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/swagger-ui-dist@4.5.0/swagger-ui.css"/>
</head>
<body>
<div id="swagger-ui"></div>
<script src="https://unpkg.com/swagger-ui-dist@4.5.0/swagger-ui-bundle.js" crossorigin></script>
<script src="https://unpkg.com/swagger-ui-dist@4.5.0/swagger-ui-standalone-preset.js" crossorigin></script>
<script>
window.onload = () => {
window.ui = SwaggerUIBundle({
urls: [
{url: "src/main/resources/openapi/audio.yaml", name: "Audio"},
{url: "src/main/resources/openapi/audiorequests.yaml", name: "Audio Requests"},
{url: "src/main/resources/openapi/audit.yaml", name: "Audit"},
{url: "src/main/resources/openapi/cases.yaml", name: "Cases"},
{url: "src/main/resources/openapi/courthouse.yaml", name: "Courthouses"},
{url: "src/main/resources/openapi/dailylist.yaml", name: "Daily Lists"},
{url: "src/main/resources/openapi/noderegistration.yaml", name: "Devices"},
{url: "src/main/resources/openapi/event.yaml", name: "Events"},
{url: "src/main/resources/openapi/hearings.yaml", name: "Hearings"},
{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>