title: How to create swagger array
body: <p>I'm trying to create a swagger doc for below JSON, but I'm getting the below error: <strong>schemas with 'type: array', require a sibling 'items: ' field</strong></p>
  
  <p>JSON:</p>
  
  <pre><code>{
      "_id": "string",
      "name": "string",
      "descriptions": {},
      "date": "string",
      "customer": {
          "id": "string",
          "name": {
              "firstName": "string",
              "lastName": "string",
              "middleName": "string"
          }
      },
      "productDetials": {
          "id": "string",
          "name": {
              "name": "string",
              "model": "string",
              "price": "string",
              "comments": "string"
          }
      },
      "Phone": [{
              "id": "string",
              "category": "string",
              "version": "string",
              "condition": "string",
              "availability": "string"
  
          }
      ]   
  }
  </code></pre>
  
  <p>Can someone help me to get the swagger doc for this JSON.</p>
  
  <p>Any help would be really appreciated.</p>