Use strong-swagger-ui instead of swagger-ui

This commit is contained in:
Miroslav Bajtoš 2015-07-08 15:59:00 +02:00
parent 5531e217dc
commit 073beebcb7
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>