Merge pull request #107 from strongloop/feature/switch-to-strong-swagger-ui

Switch to strong-swagger-ui
This commit is contained in:
Miroslav Bajtoš 2015-07-10 14:13:14 +02:00
commit b5bf179546
3 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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"
}
}

View File

@ -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>