title: Swagger PHP Security Schema referenced poorly
body: <p>I'm using this SecuritySchema for definind a JWT security validation:</p>
  
  <pre><code>/*
       * @SWG\SecurityScheme(
       *   securityDefinition="JWT",
       *   type="apiKey",
       *   in="header",
       *   name="Authenticate"
       * ) */
  </code></pre>
  
  <p>And referencing it as:</p>
  
  <pre><code>/*
   * @SWG\Post(path="/ap/some/method",
   *   security={"JWT"={}},
   * )
  </code></pre>
  
  <p>and the specifications says I should reference as</p>
  
  <pre><code>{
  ...
  "security":["JWT":[]]
  ...
  }
  </code></pre>
  
  <p>but the truth is that Swagger-PHP generates:</p>
  
  <pre><code>{
  ...
  "security":{"JWT":[]}
  ...
  }
  </code></pre>
  
  <p>which shows as validation errors on Swagger UI.</p>
  
  <p>The question is: 
  <strong>How do I emulate the desired output to avoid Swagger UI AND Swagger PHP warnings/errors?</strong></p>