This commit is contained in:
Tony Tam
2015-04-16 12:27:56 -07:00
parent 3963c3abe9
commit aadae973df
2 changed files with 2 additions and 6 deletions

6
dist/index.html vendored
View File

@@ -71,15 +71,11 @@
/*
var apiKey = "myApiKeyXXXX123456789";
$('#input_apiKey').val(apiKey);
addApiKeyAuthorization();
*/
window.swaggerUi.load();
// Add authorization if auth input is not empty
if ($('#input_apiKey').val().length) {
addApiKeyAuthorization();
}
function log() {
if ('console' in window) {
console.log.apply(console, arguments);

2
dist/swagger-ui.js vendored
View File

@@ -1,6 +1,6 @@
/**
* swagger-ui - Swagger UI is a dependency-free collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API
* @version v2.1.0-M2
* @version v2.1.1-M2
* @link http://swagger.io
* @license Apache 2.0
*/