updated client from #1552

This commit is contained in:
Tony Tam
2015-08-19 22:44:54 -07:00
parent daa45c4efb
commit ec446fd7f3
4 changed files with 398 additions and 393 deletions

View File

@@ -167,8 +167,8 @@ function handleLogin() {
function handleLogout() { function handleLogout() {
for(key in window.authorizations.authz){ for(key in window.swaggerUi.api.clientAuthorizations.authz){
window.authorizations.remove(key) window.swaggerUi.api.clientAuthorizations.remove(key)
} }
window.enabledScopes = null; window.enabledScopes = null;
$('.api-ic.ic-on').addClass('ic-off'); $('.api-ic.ic-on').addClass('ic-off');

758
dist/swagger-ui.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -8,7 +8,7 @@
} }
], ],
"description": "Swagger UI is a dependency-free collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API", "description": "Swagger UI is a dependency-free collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API",
"version": "2.1.1", "version": "2.1.2",
"homepage": "http://swagger.io", "homepage": "http://swagger.io",
"license": "Apache-2.0", "license": "Apache-2.0",
"main": "dist/swagger-ui.js", "main": "dist/swagger-ui.js",
@@ -50,6 +50,6 @@
"less": "^2.4.0", "less": "^2.4.0",
"mocha": "^2.1.0", "mocha": "^2.1.0",
"selenium-webdriver": "^2.45.0", "selenium-webdriver": "^2.45.0",
"swagger-client": "2.1.2" "swagger-client": "2.1.3"
} }
} }