diff --git a/resources/views/index.blade.php b/resources/views/index.blade.php index c0380c0..5cf8812 100644 --- a/resources/views/index.blade.php +++ b/resources/views/index.blade.php @@ -108,14 +108,14 @@ function addApiKeyAuthorization(){ addApiKeyAuthorization(); }); + window.swaggerUi.load(); + // if you have an apiKey you would like to pre-populate on the page for demonstration purposes // just put it in the .env file, API_AUTH_TOKEN variable @if($apiKey) $('#input_apiKey').val("{{$apiKey}}"); addApiKeyAuthorization(); @endif - - window.swaggerUi.load(); });