Retornar uma matriz de objeto no Swaggerhub

Estou definindo uma especificação de API no swaggerhub. A solicitação / contatos retorna uma matriz de contatos. A definição está abaixo:

/contacts:     
get:
  tags:
  - contacts
  summary: Get all the contacts
  description: This displays all the contacts present for the user.
  operationId: getContact
  produces:
  - application/json
  - application/xml  
  responses:
   200:
    description: successful operation
    schema:
      $ref: '#/definitions/AllContacts'
   400:
    description: Invalid id supplied
   404:
    description: Contact not found
   500:
    description: Server error
definitions:
  AllContacts:
   type: array
   items:
   -  $ref: '#/definitions/ContactModel1'
   -  $ref: '#/definitions/ContactModel2'


  ContactModel1:
    type: object
    properties:
      id:
        type: integer
        example: 1
      firstName:
        type: string
        example: 'someValue'
      lastName:
        type: string
        example: 'someValue'

   ContactModel2:
    type: object
    properties:
      id:
        type: integer
        example: 2
      firstName:
        type: string
        example: 'someValue1'
      lastName:
        type: string
        example: 'someValue1'

Por alguma razão, ele retorna apenas o segundo objeto e não toda a matriz de objetos. Estou usando o OpenAPI spec 2.0 e suspeito que as matrizes não são bem suportadas nesta versão

questionAnswers(1)

yourAnswerToTheQuestion