title: swagger ui rails send headers
body: <p>I have installed swagger-ui_rails in my project and swagger is working fine but I need to intercept the ajax calls to send a header with the ajax calls on try it out because my api and swagger documentation are on 2 seperate domains. I tried to work with </p>
  
  <pre><code> $.ajaxSetup({
      beforeSend: function (jqXHR, settings) {
          jqXHR.setRequestHeader("Authorization", "Basic " + $("input[name='auth_header']").val());
      }
  });
  </code></pre>
  
  <p>but it is not working, I don't think its possible to change the calls that are being made by the gem, right ? so how can I solve this, any help would be greatly appreciated.</p>