Merge pull request #107 from strongloop/feature/switch-to-strong-swagger-ui
Switch to strong-swagger-ui
This commit is contained in:
commit
b5bf179546
2
index.js
2
index.js
|
@ -8,7 +8,7 @@ var urlJoin = require('./lib/url-join');
|
|||
var _defaults = require('lodash').defaults;
|
||||
var express = require('express');
|
||||
var swagger = require('./lib/swagger');
|
||||
var SWAGGER_UI_ROOT = require('swagger-ui').dist;
|
||||
var SWAGGER_UI_ROOT = require('strong-swagger-ui').dist;
|
||||
var STATIC_ROOT = path.join(__dirname, 'public');
|
||||
|
||||
module.exports = explorer;
|
||||
|
|
|
@ -35,6 +35,6 @@
|
|||
"debug": "~1.0.3",
|
||||
"express": "3.x",
|
||||
"lodash": "^2.4.1",
|
||||
"swagger-ui": "~2.0.18"
|
||||
"strong-swagger-ui": "^20.0.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
<script src='lib/loadSwaggerUI.js' type="text/javascript"></script>
|
||||
</head>
|
||||
|
||||
<body class="swagger-section">
|
||||
<body class="swagger-section standalone">
|
||||
<div id='header'>
|
||||
<div class="swagger-ui-wrap">
|
||||
<a id="logo">StrongLoop API Explorer</a>
|
||||
|
|
Loading…
Reference in New Issue