Skip to content
This repository has been archived by the owner on Nov 2, 2021. It is now read-only.

Commit

Permalink
Merge pull request #29 from banders/master
Browse files Browse the repository at this point in the history
new swagger-ui.  set swagger ui to fixed height (800px) to allow moda…
  • Loading branch information
banders authored Aug 2, 2017
2 parents 6a42a89 + 264dcd7 commit f8e84b5
Show file tree
Hide file tree
Showing 9 changed files with 107 additions and 144 deletions.
4 changes: 3 additions & 1 deletion ckanext/openapi/public/swagger-ui/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,12 @@
<script src="./swagger-ui-standalone-preset.js"> </script>
<script>
window.onload = function() {

// Build a system
const ui = SwaggerUIBundle({
url: "http://petstore.swagger.io/v2/swagger.json",
dom_id: '#swagger-ui',
deepLinking: true,
presets: [
SwaggerUIBundle.presets.apis,
SwaggerUIStandalonePreset
Expand All @@ -90,4 +92,4 @@
</script>
</body>

</html>
</html>
185 changes: 80 additions & 105 deletions ckanext/openapi/public/swagger-ui/dist/swagger-ui-bundle.js

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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

Large diffs are not rendered by default.

21 changes: 7 additions & 14 deletions ckanext/openapi/public/swagger-ui/dist/swagger-ui.js

Large diffs are not rendered by default.

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

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ckanext/openapi/templates/dataviewer/openapi_view.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</style>
</head>

<body>
<body style="height: 800px;">

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="position:absolute;width:0;height:0">
<defs>
Expand Down

0 comments on commit f8e84b5

Please sign in to comment.