title: Swagger UI: Multiple anonymous objects in array
body: <p>I am writing Swagger documentation for an API, and one endpoint returns many nested objects and parameters.</p>
  
  <p>There is one returned array, however, which does not return regular parameters. Instead, it returns two anonymous objects that hold the parameters.</p>
  
  <pre><code>"balanceDisplaySettings": [ 
    {
      "type": "Balance",
      "label": "Current",
      "visible": true,
      "primary": false
    },
    {
      "type": "AvailableBalance",
      "label": "Available",
      "visible": true, 
      "primary": true
    }
  ]
  </code></pre>
  
  <p>YAML </p>
  
  <pre><code>swagger: '2.0'
  schemes:
   - https
  consumes:
    - application/json
  produces:
    - application/json
  paths:
  "/Path/":
       responses:
       '200':
        description: OK
        schema:
          type: object
          properties:
            balanceDisplaySettings:
              type: array
              items:
                type: object
                properties:
                  type:
                    type: "Balance"
                    description: description
                  label: 
                    type: "Available"
                    description: description
                  visible:
                    type: boolean
                    description: description
                  primary:
                    type: boolean
                    description: description
                type: object
                properties:
                  type:
                    type: "AvailableBalance"
                    description: description
                  label: 
                    type: "Available"
                    description: description
                  visible: 
                    type: boolean
                    description: description
                  primary:
                    type: boolean
                    description: description
  </code></pre>
  
  <p>Looking at swagger's documentation for Describing Request Body, there is seemingly no way to handle objects without a name. </p>
  
  <p>How do I (Using YAML) document this type of response body in Swagger-UI?</p>