This commit is contained in:
Tony Tam
2015-04-15 12:02:54 -07:00
parent 854ef16cbb
commit 3c6d4ff3e6
4 changed files with 394 additions and 373 deletions

View File

@@ -277,7 +277,7 @@ window.onOAuthComplete = function onOAuthComplete(token) {
}
}
});
window.authorizations.add(oauth2KeyName, new ApiKeyAuthorization('Authorization', 'Bearer ' + b, 'header'));
window.swaggerUi.api.clientAuthorizations.add(oauth2KeyName, new SwaggerClient.ApiKeyAuthorization('Authorization', 'Bearer ' + b, 'header'));
}
}
}