Browse Source

Update swagger-ui to reuse client authorizations properly

Fixes #472
bubble
Jeremy Whitlock 9 years ago
parent
commit
a4124fba7c
3 changed files with 11313 additions and 1005 deletions
  1. +11299
    -997
      dist/swagger-ui.js
  2. +13
    -7
      dist/swagger-ui.min.js
  3. +1
    -1
      src/main/javascript/SwaggerUi.js

+ 11299
- 997
dist/swagger-ui.js
File diff suppressed because it is too large
View File


+ 13
- 7
dist/swagger-ui.min.js
File diff suppressed because it is too large
View File


+ 1
- 1
src/main/javascript/SwaggerUi.js View File

@@ -91,7 +91,7 @@ window.SwaggerUi = Backbone.Router.extend({
url = this.buildUrl(window.location.href.toString(), url);
}
if(this.api) {
this.options.authorizations = this.api.clientAuthorizations;
this.options.authorizations = this.api.clientAuthorizations.authz;
}
this.options.url = url;
this.headerView.update(url);


Loading…
Cancel
Save