diff --git a/dist/index.html b/dist/index.html index 0fb176b1..19b17b8b 100644 --- a/dist/index.html +++ b/dist/index.html @@ -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); diff --git a/dist/swagger-ui.js b/dist/swagger-ui.js index f4426fbe..085c4586 100644 --- a/dist/swagger-ui.js +++ b/dist/swagger-ui.js @@ -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 */