Skip to content

Commit b820ee5

Browse files
committed
Cleaning
1 parent 90a120f commit b820ee5

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

swagger/swagger-ui/swagger-ui.html

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,18 @@
22
<html>
33
<head>
44
<title>Swagger UI</title>
5-
<link rel="stylesheet" type="text/css" href="swagger-ui.css" > <!-- Update the path to where your Swagger UI CSS file is located -->
5+
<link rel="stylesheet" type="text/css" href="swagger-ui.css" >
66
</head>
77

88
<body>
99
<div id="swagger-ui"></div>
1010

11-
<script src="swagger-ui-bundle.js"></script> <!-- Update the path to where your Swagger UI JS bundle file is located -->
12-
<script src="swagger-ui-standalone-preset.js"></script> <!-- Update the path if you're using the standalone preset -->
11+
<script src="swagger-ui-bundle.js"></script>
12+
<script src="swagger-ui-standalone-preset.js"></script>
1313
<script>
1414
window.onload = function() {
15-
// Begin Swagger UI call region
1615
const ui = SwaggerUIBundle({
17-
url: "/http-api/swagger.json", // Update with the path to your OpenAPI spec
16+
url: "/http-api/swagger.json",
1817
dom_id: '#swagger-ui',
1918
deepLinking: true,
2019
presets: [
@@ -26,7 +25,6 @@
2625
],
2726
layout: "StandaloneLayout"
2827
})
29-
// End Swagger UI call region
3028

3129
window.ui = ui
3230
}

0 commit comments

Comments
 (0)