forked from tls-kr/tls-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
api.html
35 lines (34 loc) · 1.21 KB
/
api.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
<?xml version="1.0" encoding="UTF-8"?>
<html>
<head>
<meta charset="utf-8"/>
<title>TLS</title>
<!-- <link rel="icon" type="image/png" href="static/roaster-router-logo.png"/>
--> <link rel="stylesheet" href="https://unpkg.com/swagger-ui-dist@4/swagger-ui.css"/>
<script src="https://unpkg.com/swagger-ui-dist@4/swagger-ui-bundle.js" charset="UTF-8"/>
</head>
<body>
<div id="basic"/>
<div id="custom"/>
<script>
document.addEventListener("DOMContentLoaded", function () {
SwaggerUIBundle({
url: 'api.json',
dom_id: '#basic',
displayOperationId: true,
displayRequestDuration: true,
showExtensions: true,
withCredentials: true
});
SwaggerUIBundle({
url: 'api-jwt.json',
dom_id: '#custom',
displayOperationId: true,
displayRequestDuration: true,
showExtensions: true,
withCredentials: true
});
})
</script>
</body>
</html>