-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
32 lines (27 loc) · 1008 Bytes
/
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
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/swagger-ui/3.51.1/swagger-ui.min.css">
<title>Datenplattform Darmstadt API</title>
<body>
<div id="openapi">
<script src="//cdnjs.cloudflare.com/ajax/libs/swagger-ui/3.51.1/swagger-ui-bundle.min.js"></script>
<script>
window.onload = function () {
const ui = SwaggerUIBundle({
url: "openapi.yaml",
dom_id: "#openapi",
requestInterceptor: function (req) {
if (this.url !== "openapi.yaml") {
var url = new URL(req.url);
req.url = url.href;
}
return req;
},
})
}
</script>
</body>
</html>