Rename redirectUrl optoon to oauth2RedirectUrl

This commit is contained in:
Mohsen Azimi
2015-03-24 13:33:40 -07:00
parent ede1faa0c8
commit 6523318f88
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ onComplete | This is a callback function parameter which can be passed to be not
onFailure | This is a callback function parameter which can be passed to be notified of when SwaggerUI encountered a failure was unable to render.
highlightSizeThreshold | Any size response below this threshold will be highlighted syntactically, attempting to highlight large responses can lead to browser hangs, not including a threshold will default to highlight all returned responses.
supportedSubmitMethods | An array of of the HTTP operations that will have the 'Try it out!` option. An empty array disables all operations. This does not filter the operations from the display.
redirectUrl | OAuth redirect URL
oauth2RedirectUrl | OAuth redirect URL
* All other parameters are explained in greater detail below
+1 -1
View File
@@ -38,7 +38,7 @@ window.SwaggerUi = Backbone.Router.extend({
];
}
if (typeof options.redirectUrl === 'string') {
if (typeof options.oauth2RedirectUrl === 'string') {
window.oAuthRedirectUrl = options.redirectUrl;
}
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -32,7 +32,7 @@ window.SwaggerUi = Backbone.Router.extend({
];
}
if (typeof options.redirectUrl === 'string') {
if (typeof options.oauth2RedirectUrl === 'string') {
window.oAuthRedirectUrl = options.redirectUrl;
}