Skip to content

Commit

Permalink
Update swagger-ui to v3.32.3
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Aug 20, 2020
1 parent a4af658 commit bb9c398
Show file tree
Hide file tree
Showing 22 changed files with 193 additions and 321 deletions.
113 changes: 0 additions & 113 deletions dist/swagger-editor-bundle.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/swagger-editor-bundle.js.map

This file was deleted.

86 changes: 0 additions & 86 deletions dist/swagger-editor-standalone-preset.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/swagger-editor-standalone-preset.js.map

This file was deleted.

4 changes: 0 additions & 4 deletions dist/swagger-editor.css

This file was deleted.

1 change: 0 additions & 1 deletion dist/swagger-editor.css.map

This file was deleted.

2 changes: 0 additions & 2 deletions dist/swagger-editor.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/swagger-editor.js.map

This file was deleted.

50 changes: 25 additions & 25 deletions dist/swagger-ui-bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/swagger-ui-bundle.js.map

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions dist/swagger-ui-es-bundle-core.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/swagger-ui-es-bundle-core.js.map

Large diffs are not rendered by default.

92 changes: 92 additions & 0 deletions dist/swagger-ui-es-bundle.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/swagger-ui-es-bundle.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/swagger-ui-standalone-preset.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/swagger-ui-standalone-preset.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/swagger-ui.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/swagger-ui.css.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/swagger-ui.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/swagger-ui.js.map

Large diffs are not rendered by default.

128 changes: 53 additions & 75 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,82 +1,60 @@
<!DOCTYPE html>
<!-- HTML for static distribution bundle build -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>CoinAPI Documentation</title>
<style>
* {
box-sizing: border-box;
}
body {
font-family: Roboto,sans-serif;
font-size: 9px;
line-height: 1.42857143;
color: #444;
margin: 0px;
}

#swagger-editor {
font-size: 1.3em;
}

.container {
height: 100%;
max-width: 880px;
margin-left: auto;
margin-right: auto;
}

#editor-wrapper {
height: 100%;
border:1em solid #000;
border:none;
}

.Pane1 {
display: none;
}

.SplitPane {
position: relative !important;
display: block !important;
}

.Pane2 {
overflow-y: auto;
width: 100% !important;
}

.info .main .link {
display: none;
}

</style>
<link rel="stylesheet" type="text/css" href="dist/swagger-editor.css" >
<link rel="icon" type="image/png" href="dist/favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="dist/favicon-16x16.png" sizes="16x16" />
</head>

<body>
<div id="swagger-editor"></div>
<script src="./dist/swagger-editor-bundle.js"> </script>
<script src="./dist/swagger-editor-standalone-preset.js"> </script>
<script>
window.onload = function() {
// Build a system
const editor = SwaggerEditorBundle({
dom_id: '#swagger-editor',
layout: 'StandaloneLayout',
url: './swagger.yaml',
presets: [
SwaggerEditorStandalonePreset
],
defaultModelsExpandDepth: -1,
})

window.editor = editor
}

<title>Swagger UI</title>
<link rel="stylesheet" type="text/css" href="dist/swagger-ui.css" >
<link rel="icon" type="image/png" href="dist/favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="dist/favicon-16x16.png" sizes="16x16" />
<style>
html
{
box-sizing: border-box;
overflow: -moz-scrollbars-vertical;
overflow-y: scroll;
}

*,
*:before,
*:after
{
box-sizing: inherit;
}

body
{
margin:0;
background: #fafafa;
}
</style>
</head>

<body>
<div id="swagger-ui"></div>

<script src="dist/swagger-ui-bundle.js" charset="UTF-8"> </script>
<script src="dist/swagger-ui-standalone-preset.js" charset="UTF-8"> </script>
<script>
window.onload = function() {
// Begin Swagger UI call region
const ui = SwaggerUIBundle({
url: "swagger.yaml",
dom_id: '#swagger-ui',
deepLinking: true,
presets: [
SwaggerUIBundle.presets.apis,
SwaggerUIStandalonePreset
],
plugins: [
SwaggerUIBundle.plugins.DownloadUrl
],
layout: "StandaloneLayout"
})
// End Swagger UI call region

window.ui = ui
}
</script>
</body>
</html>
2 changes: 1 addition & 1 deletion swagger-ui.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v3.28.0
v3.32.3

0 comments on commit bb9c398

Please sign in to comment.