Rename redirectUrl optoon to oauth2RedirectUrl
This commit is contained in:
@@ -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.
|
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.
|
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.
|
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
|
* All other parameters are explained in greater detail below
|
||||||
|
|
||||||
|
|||||||
2
dist/swagger-ui.js
vendored
2
dist/swagger-ui.js
vendored
@@ -38,7 +38,7 @@ window.SwaggerUi = Backbone.Router.extend({
|
|||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (typeof options.redirectUrl === 'string') {
|
if (typeof options.oauth2RedirectUrl === 'string') {
|
||||||
window.oAuthRedirectUrl = options.redirectUrl;
|
window.oAuthRedirectUrl = options.redirectUrl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
2
dist/swagger-ui.min.js
vendored
2
dist/swagger-ui.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -32,7 +32,7 @@ window.SwaggerUi = Backbone.Router.extend({
|
|||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (typeof options.redirectUrl === 'string') {
|
if (typeof options.oauth2RedirectUrl === 'string') {
|
||||||
window.oAuthRedirectUrl = options.redirectUrl;
|
window.oAuthRedirectUrl = options.redirectUrl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user