-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathswagger-ui.html
More file actions
47 lines (45 loc) · 1.35 KB
/
swagger-ui.html
File metadata and controls
47 lines (45 loc) · 1.35 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
46
47
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Sovereign Map API Docs</title>
<link rel="stylesheet" href="https://unpkg.com/swagger-ui-dist@5/swagger-ui.css" />
<style>
html,
body {
margin: 0;
padding: 0;
height: 100%;
background: #f4f6f8;
}
.topbar {
border-bottom: 1px solid #d9e0e6;
}
.brand {
font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
font-weight: 600;
letter-spacing: 0.2px;
}
</style>
</head>
<body>
<div id="swagger-ui"></div>
<script src="https://unpkg.com/swagger-ui-dist@5/swagger-ui-bundle.js"></script>
<script>
window.ui = SwaggerUIBundle({
dom_id: "#swagger-ui",
urls: [
{ url: "./openapi.yaml", name: "Control Plane API (:8000)" },
{ url: "./openapi.training.yaml", name: "Training Service API (:5001)" },
{ url: "./openapi.tpm.yaml", name: "TPM Exporter API (:9091)" },
{ url: "./openapi.tokenomics.yaml", name: "Tokenomics Exporter API (:9105)" }
],
docExpansion: "none",
defaultModelsExpandDepth: 1,
displayRequestDuration: true,
persistAuthorization: true
});
</script>
</body>
</html>