We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb70c73 commit d5c79f8Copy full SHA for d5c79f8
src/main/javascript/SwaggerUi.js
@@ -90,7 +90,9 @@ window.SwaggerUi = Backbone.Router.extend({
90
if (url && url.indexOf('http') !== 0) {
91
url = this.buildUrl(window.location.href.toString(), url);
92
}
93
-
+ if(this.api) {
94
+ this.options.authorizations = this.api.clientAuthorizations;
95
+ }
96
this.options.url = url;
97
this.headerView.update(url);
98
0 commit comments