Merge pull request #1157 from neoecos/patch-2
Call to swaggerUi.load before possible use.
This commit is contained in:
4
dist/index.html
vendored
4
dist/index.html
vendored
@@ -63,6 +63,8 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
window.swaggerUi.load();
|
||||||
|
|
||||||
$('#input_apiKey').change(addApiKeyAuthorization);
|
$('#input_apiKey').change(addApiKeyAuthorization);
|
||||||
|
|
||||||
// if you have an apiKey you would like to pre-populate on the page for demonstration purposes...
|
// if you have an apiKey you would like to pre-populate on the page for demonstration purposes...
|
||||||
@@ -72,8 +74,6 @@
|
|||||||
addApiKeyAuthorization();
|
addApiKeyAuthorization();
|
||||||
*/
|
*/
|
||||||
|
|
||||||
window.swaggerUi.load();
|
|
||||||
|
|
||||||
function log() {
|
function log() {
|
||||||
if ('console' in window) {
|
if ('console' in window) {
|
||||||
console.log.apply(console, arguments);
|
console.log.apply(console, arguments);
|
||||||
|
|||||||
Reference in New Issue
Block a user