title: Bearer token based authentication in swagger 3.x
body: <p>I'm currently using swagger-ui 2.x and following is the authentication I've been using with swagger-ui 2.x.</p>
  
  <p>var key = $(this).val();
  swaggerUi.api.clientAuthorizations.add("default", new SwaggerClient.ApiKeyAuthorization("Authorization", "Bearer "+ key, "header"));</p>
  
  <p>Currently, I'm upgrading the swagger-ui into latest 3.x version and I need to know how to achieve above with swagger 3.x. Can I have on bearer token based authentication?</p>