update swagger-ui (#6661)

tokarchuk/v1.17
Antoine GIRARD 6 years ago committed by techknowlogick
parent 4183c846e3
commit 4f19b08258
  1. BIN
      public/vendor/assets/swagger-ui/favicon-16x16.png
  2. BIN
      public/vendor/assets/swagger-ui/favicon-32x32.png
  3. 5
      public/vendor/assets/swagger-ui/index.html
  4. 70
      public/vendor/assets/swagger-ui/swagger-ui-bundle.js
  5. 2
      public/vendor/assets/swagger-ui/swagger-ui-bundle.js.map
  6. 9
      public/vendor/assets/swagger-ui/swagger-ui-standalone-preset.js
  7. 2
      public/vendor/assets/swagger-ui/swagger-ui-standalone-preset.js.map
  8. 2
      public/vendor/assets/swagger-ui/swagger-ui.css
  9. 5
      public/vendor/assets/swagger-ui/swagger-ui.js
  10. 2
      public/vendor/assets/swagger-ui/swagger-ui.js.map
  11. 2
      public/vendor/librejs.html
  12. 4
      templates/swagger/ui.tmpl

Binary file not shown.

Before

Width:  |  Height:  |  Size: 445 B

After

Width:  |  Height:  |  Size: 665 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 628 B

@ -4,7 +4,6 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>Swagger UI</title> <title>Swagger UI</title>
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700|Source+Code+Pro:300,600|Titillium+Web:400,600,700" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="./swagger-ui.css" > <link rel="stylesheet" type="text/css" href="./swagger-ui.css" >
<link rel="icon" type="image/png" href="./favicon-32x32.png" sizes="32x32" /> <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-16x16.png" sizes="16x16" />
@ -38,8 +37,7 @@
<script src="./swagger-ui-standalone-preset.js"> </script> <script src="./swagger-ui-standalone-preset.js"> </script>
<script> <script>
window.onload = function() { window.onload = function() {
// Begin Swagger UI call region
// Build a system
const ui = SwaggerUIBundle({ const ui = SwaggerUIBundle({
url: "../../../swagger.v1.json", url: "../../../swagger.v1.json",
dom_id: '#swagger-ui', dom_id: '#swagger-ui',
@ -53,6 +51,7 @@
], ],
layout: "StandaloneLayout" layout: "StandaloneLayout"
}) })
// End Swagger UI call region
window.ui = ui window.ui = ui
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -133,7 +133,7 @@
<tr> <tr>
<td><a href="./assets/swagger-ui/">swagger-ui</a></td> <td><a href="./assets/swagger-ui/">swagger-ui</a></td>
<td><a href="https://github.com/swagger-api/swagger-ui/blob/master/LICENSE">Apache-2.0</a></td> <td><a href="https://github.com/swagger-api/swagger-ui/blob/master/LICENSE">Apache-2.0</a></td>
<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> <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>
</tr> </tr>
<tr> <tr>
<td><a href="./plugins/vue-calendar-heatmap/">vue-calendar-heatmap</a></td> <td><a href="./plugins/vue-calendar-heatmap/">vue-calendar-heatmap</a></td>

@ -4,7 +4,6 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>Swagger UI</title> <title>Swagger UI</title>
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700|Source+Code+Pro:300,600|Titillium+Web:400,600,700" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="{{AppSubUrl}}/vendor/assets/swagger-ui/swagger-ui.css" > <link rel="stylesheet" type="text/css" href="{{AppSubUrl}}/vendor/assets/swagger-ui/swagger-ui.css" >
<link rel="icon" type="image/png" href="{{AppSubUrl}}/vendor/assets/swagger-ui/favicon-32x32.png" sizes="32x32" /> <link rel="icon" type="image/png" href="{{AppSubUrl}}/vendor/assets/swagger-ui/favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="{{AppSubUrl}}/vendor/assets/swagger-ui/favicon-16x16.png" sizes="16x16" /> <link rel="icon" type="image/png" href="{{AppSubUrl}}/vendor/assets/swagger-ui/favicon-16x16.png" sizes="16x16" />
@ -80,7 +79,7 @@ window.onload = function() {
// Make the page's protocol be at the top of the schemes list // Make the page's protocol be at the top of the schemes list
var protocol = window.location.protocol.slice(0, -1) var protocol = window.location.protocol.slice(0, -1)
spec.schemes.sort(function(x,y){ return x == protocol ? -1 : y == protocol ? 1 : 0 }) spec.schemes.sort(function(x,y){ return x == protocol ? -1 : y == protocol ? 1 : 0 })
// Build the Swagger UI // Begin Swagger UI call region
const ui = SwaggerUIBundle({ const ui = SwaggerUIBundle({
spec: spec, spec: spec,
dom_id: '#swagger-ui', dom_id: '#swagger-ui',
@ -94,6 +93,7 @@ window.onload = function() {
], ],
layout: "StandaloneLayout" layout: "StandaloneLayout"
}) })
// End Swagger UI call region
window.ui = ui window.ui = ui
}) })

Loading…
Cancel
Save