Merge pull request #1157 from neoecos/patch-2

Call to swaggerUi.load before possible use.
This commit is contained in:
Mohsen Azimi
2015-04-14 13:38:02 -07:00

4
dist/index.html vendored
View File

@@ -63,6 +63,8 @@
}
}
window.swaggerUi.load();
$('#input_apiKey').change(addApiKeyAuthorization);
// if you have an apiKey you would like to pre-populate on the page for demonstration purposes...
@@ -72,8 +74,6 @@
addApiKeyAuthorization();
*/
window.swaggerUi.load();
function log() {
if ('console' in window) {
console.log.apply(console, arguments);