title: Cannot send Authorization Bearer Token using Springfox
body: <p>I'm having trouble understanding why "Authorization: Bearer __" is not being sent in my api using Springfox 2.5.0. I have the following configuration:</p>
  
  <pre><code>private ApiKey apiKey() {
          return new ApiKey(
                  "Authorization", // name: My key - Authorization
                  "api_key", // keyname: api_key
                  "header");
      }
  
  @Bean
      SecurityConfiguration security() {
          return new SecurityConfiguration(
                  null, null, null,
                  "Docserver2_fwk", // app name
                  "BEARER", // api key value
                  ApiKeyVehicle.HEADER, "Authorization", ",");
      }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/jO4J6.png" rel="noreferrer"><img src="https://i.stack.imgur.com/jO4J6.png" alt="enter image description here"></a>
  And the curl being sent is:</p>
  
  <p><a href="https://i.stack.imgur.com/lo6N8.png" rel="noreferrer"><img src="https://i.stack.imgur.com/lo6N8.png" alt="enter image description here"></a></p>
  
  <p>It seems I am unable to send "Authorization: Bearer Token" in springfox (2.5.0), is this possible?, is it a known problem?</p>
  
  <p>Similar issue: <a href="https://github.com/springfox/springfox/issues/1812" rel="noreferrer">https://github.com/springfox/springfox/issues/1812</a></p>
  
  <p>PS: OpenAPI 3.0 allows the "bearer" format, example: <a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#jwt-bearer-sample" rel="noreferrer">https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#jwt-bearer-sample</a> </p>
  
  <p>Thanks.</p>