Skip to content

Commit 4f19b08

Browse files
sapktechknowlogick
authored andcommitted
update swagger-ui (#6661)
1 parent 4183c84 commit 4f19b08

12 files changed

+52
-51
lines changed
220 Bytes
Loading
-513 Bytes
Loading

public/vendor/assets/swagger-ui/index.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
<head>
55
<meta charset="UTF-8">
66
<title>Swagger UI</title>
7-
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700|Source+Code+Pro:300,600|Titillium+Web:400,600,700" rel="stylesheet">
87
<link rel="stylesheet" type="text/css" href="./swagger-ui.css" >
98
<link rel="icon" type="image/png" href="./favicon-32x32.png" sizes="32x32" />
109
<link rel="icon" type="image/png" href="./favicon-16x16.png" sizes="16x16" />
@@ -38,8 +37,7 @@
3837
<script src="./swagger-ui-standalone-preset.js"> </script>
3938
<script>
4039
window.onload = function() {
41-
42-
// Build a system
40+
// Begin Swagger UI call region
4341
const ui = SwaggerUIBundle({
4442
url: "../../../swagger.v1.json",
4543
dom_id: '#swagger-ui',
@@ -53,6 +51,7 @@
5351
],
5452
layout: "StandaloneLayout"
5553
})
54+
// End Swagger UI call region
5655

5756
window.ui = ui
5857
}

public/vendor/assets/swagger-ui/swagger-ui-bundle.js

Lines changed: 35 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/vendor/assets/swagger-ui/swagger-ui-bundle.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/vendor/assets/swagger-ui/swagger-ui-standalone-preset.js

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/vendor/assets/swagger-ui/swagger-ui-standalone-preset.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/vendor/assets/swagger-ui/swagger-ui.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/vendor/assets/swagger-ui/swagger-ui.js

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/vendor/assets/swagger-ui/swagger-ui.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/vendor/librejs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
<tr>
134134
<td><a href="./assets/swagger-ui/">swagger-ui</a></td>
135135
<td><a href="https://github.com/swagger-api/swagger-ui/blob/master/LICENSE">Apache-2.0</a></td>
136-
<td><a href="https://github.com/swagger-api/swagger-ui/archive/v3.0.4.tar.gz">swagger-ui-v3.0.4.tar.gz</a></td>
136+
<td><a href="https://github.com/swagger-api/swagger-ui/archive/v3.22.1.tar.gz">swagger-ui-v3.22.1.tar.gz</a></td>
137137
</tr>
138138
<tr>
139139
<td><a href="./plugins/vue-calendar-heatmap/">vue-calendar-heatmap</a></td>

templates/swagger/ui.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
<head>
55
<meta charset="UTF-8">
66
<title>Swagger UI</title>
7-
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700|Source+Code+Pro:300,600|Titillium+Web:400,600,700" rel="stylesheet">
87
<link rel="stylesheet" type="text/css" href="{{AppSubUrl}}/vendor/assets/swagger-ui/swagger-ui.css" >
98
<link rel="icon" type="image/png" href="{{AppSubUrl}}/vendor/assets/swagger-ui/favicon-32x32.png" sizes="32x32" />
109
<link rel="icon" type="image/png" href="{{AppSubUrl}}/vendor/assets/swagger-ui/favicon-16x16.png" sizes="16x16" />
@@ -80,7 +79,7 @@ window.onload = function() {
8079
// Make the page's protocol be at the top of the schemes list
8180
var protocol = window.location.protocol.slice(0, -1)
8281
spec.schemes.sort(function(x,y){ return x == protocol ? -1 : y == protocol ? 1 : 0 })
83-
// Build the Swagger UI
82+
// Begin Swagger UI call region
8483
const ui = SwaggerUIBundle({
8584
spec: spec,
8685
dom_id: '#swagger-ui',
@@ -94,6 +93,7 @@ window.onload = function() {
9493
],
9594
layout: "StandaloneLayout"
9695
})
96+
// End Swagger UI call region
9797

9898
window.ui = ui
9999
})

0 commit comments

Comments
 (0)