title: Swagger array of objects
body: <p>I am having some issues with swagger: I have an array of objects (address) described in this way in the .yaml file:</p>
  
  <pre><code>Address:
    properties:
      street:
        type: string
      city:
        type: string
      state:
        type: string
      country:
        type: string
  </code></pre>
  
  <p>and this is the other yaml file with the definitions of the API (address is a params):</p>
  
  <pre><code> - name: addresses
     in: formData
     description: List of adresses of the user. The first one is the default one.
     type: array
     items:
       $ref: '#/definitions/Address'
  </code></pre>
  
  <p>And this is the text I put in the swagger UI:</p>
  
  <pre><code>[
    {
      "street": "Bond street",
      "city": "Torino",
      "state": "Italy",
      "country": "Italy"
    }
  ]
  </code></pre>
  
  <p>but in node.js, if I print what I receive:</p>
  
  <blockquote>
    <p>{"addresses":["[","  {","    \"street\": \"Bond street\","," 
    \"city\": \"Torino\",","    \"state\": \"Italy\",","    \"country\":
    \"Italy\"","  }","]"]}</p>
  </blockquote>
  
  <p>And I get a parsing error... There are some extra [ and ". It seems that swagger parse it as string (?)</p>