Skip to content

Commit

Permalink
update swagger ui
Browse files Browse the repository at this point in the history
  • Loading branch information
ysmood committed Sep 26, 2023
1 parent 9ffcdf4 commit 2be83a9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 19 deletions.
24 changes: 7 additions & 17 deletions lib/middlewares/apidoc/swagger-ui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,18 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>OpenAPI</title>
<meta charset="UTF-8">
<title>Swagger UI</title>
<link rel="stylesheet" type="text/css" href="./swagger-ui.css" />
<link rel="stylesheet" type="text/css" href="index.css" />
<link
rel="icon"
type="image/png"
href="./favicon-32x32.png"
sizes="32x32"
/>
<link
rel="icon"
type="image/png"
href="./favicon-16x16.png"
sizes="16x16"
/>
<link rel="icon" type="image/png" href="./favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="./favicon-16x16.png" sizes="16x16" />
</head>

<body>
<div id="swagger-ui"></div>
<script src="./swagger-ui-bundle.js" charset="UTF-8"></script>
<script src="./swagger-ui-standalone-preset.js" charset="UTF-8"></script>
<script src="./swagger-initializer.js" charset="UTF-8"></script>
<script src="./swagger-ui-bundle.js" charset="UTF-8"> </script>
<script src="./swagger-ui-standalone-preset.js" charset="UTF-8"> </script>
<script src="./swagger-initializer.js" charset="UTF-8"> </script>
</body>
</html>
2 changes: 2 additions & 0 deletions lib/middlewares/apidoc/swagger-ui/swagger-initializer.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Swagger UI 5.7.2

window.onload = function () {
//<editor-fold desc="Changeable Configuration Block">

Expand Down
2 changes: 1 addition & 1 deletion lib/middlewares/apidoc/swagger-ui/swagger-ui-bundle.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

0 comments on commit 2be83a9

Please sign in to comment.