Skip to content

Commit 9d2cb04

Browse files
authored
Fix GitHub Pages directory (#6)
1 parent 4726ea5 commit 9d2cb04

File tree

2 files changed

+34
-34
lines changed

2 files changed

+34
-34
lines changed

index.html

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<!-- HTML for static distribution bundle build -->
2+
<!DOCTYPE html>
3+
<html lang="en">
4+
5+
<head>
6+
<meta charset="UTF-8">
7+
<title>Swagger UI</title>
8+
<link rel="stylesheet" type="text/css" href="./swagger/swagger-ui.css" />
9+
<link rel="stylesheet" type="text/css" href="./swaggerindex.css" />
10+
<link rel="icon" type="image/png" href="./swagger/favicon-32x32.png" sizes="32x32" />
11+
<link rel="icon" type="image/png" href="./swagger/favicon-16x16.png" sizes="16x16" />
12+
</head>
13+
14+
<body>
15+
<div id="swagger-ui"></div>
16+
<script src="./swagger/swagger-ui-bundle.js" charset="UTF-8"> </script>
17+
<script src="./swagger/swagger-ui-standalone-preset.js" charset="UTF-8"> </script>
18+
<script src="./swagger/swagger-initializer.js" charset="UTF-8"> </script>
19+
</body>
20+
<script>
21+
window.onload = () => {
22+
window.ui = SwaggerUIBundle({
23+
url: './openapi.yml',
24+
dom_id: '#swagger-ui',
25+
presets: [
26+
SwaggerUIBundle.presets.apis,
27+
SwaggerUIStandalonePreset
28+
],
29+
layout: "StandaloneLayout",
30+
});
31+
};
32+
</script>
33+
34+
</html>

swagger/index.html

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)