title: swagger-ui how to form multiple responses in schema array
body: <p>I am trying to form a swagger document in this format. The response is the below json on 200 http code. I am unable to form a json like below.</p>
  
  <pre><code>[
    {
      "key":"test1", 
      "val":"val1" 
    },
    {
      "key":"test2", 
      "val":"val2" 
    },
    {
      "key":"test3", 
      "val":"val3" 
    }
  ]
  </code></pre>
  
  <p>so far I have this:</p>
  
  <pre><code>"responses": {
                      "200": {
                          "description": "response",
                          "schema": {
                              "type": "array",
                              "items": {
                                  "$ref": "#/definitions/res1",
                                  "$ref": "#/definitions/res2"
                              }
                          }
                      }
                  }
  
   "definitions": {
      "res1": {
                      "type": "object",
                      "properties": {
                              "key": {
                                      "type": "string",
                                      "example": "test1"
                              },
                              "keyURL": {
                                      "type": "string",
                                      "example": "val1"
                              }
                          }
                  },
                  "res2": {
                      "type": "object",
                      "properties": {
                              "key": {
                                      "type": "string",
                                      "example": "test2"
                              },
                              "val": {
                                      "type": "string",
                                      "example": "val2"
                              }
                          }
                  }
  </code></pre>
  
  <p>But I dont see the <code>res2</code> block at all. I just see <code>res1</code></p>