Skip to content

Commit

Permalink
use swagger-ui-dist@3.19.2 temporary, waiting(swagger-api/swagger-ui#…
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNorthMemory committed Oct 5, 2018
1 parent ebf1ed9 commit 7422b15
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="format-detection" content="telephone=no,email=no">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no, maximum-scale=1, minimum-scale=1, viewport-fit=cover">
<title>微信接口文档及调试工具</title>
<link rel="stylesheet" type="text/css" href="https://unpkg.com/swagger-ui-dist@3.19.0/swagger-ui.css" >
<link rel="stylesheet" type="text/css" href="https://unpkg.com/swagger-ui-dist@3.19.2/swagger-ui.css" >
<style>
html{box-sizing:border-box;overflow:-moz-scrollbars-vertical;overflow-y:scroll}
*,*:before,*:after{box-sizing:inherit}
Expand All @@ -14,15 +14,16 @@
.swagger-ui .info{margin:5px 0 0;}
.swagger-ui .info .title{font-size:18px}
.swagger-ui .opblock-tag{font-size:16px;}
.swagger-ui .opblock-tag .markdown p{margin-block-start:0;margin-block-end:0}
.swagger-ui .scheme-container{margin-bottom:10px;padding-bottom:10px}
.swagger-ui .expand-methods svg,.swagger-ui .expand-operation svg{height:14px}
@media (max-width:768px) {.swagger-ui textarea{max-width:100%}.swagger-ui .opblock-tag{padding-right:0}.swagger-ui .opblock .opblock-summary-path{width:60%}}
</style>
</head>
<body>
<div id="swagger-ui"></div>
<script src="https://unpkg.com/swagger-ui-dist@3.19.0/swagger-ui-bundle.js"></script>
<script src="https://unpkg.com/swagger-ui-dist@3.19.0/swagger-ui-standalone-preset.js"></script>
<script src="https://unpkg.com/swagger-ui-dist@3.19.2/swagger-ui-bundle.js"></script>
<script src="https://unpkg.com/swagger-ui-dist@3.19.2/swagger-ui-standalone-preset.js"></script>
<script>
window.onload = function() {
const ui = SwaggerUIBundle({
Expand Down

0 comments on commit 7422b15

Please sign in to comment.