title: Create swagger yaml for empty json array object
body: <p>One of my objects in response is kept as empty. I am unable to create the swagger yaml for that part.</p>
  
  <pre><code>... &lt;&lt;something&gt;&gt;
  ,
          "dummy": [
            {}
          ],
  ... &lt;&lt;something&gt;&gt;
  </code></pre>
  
  <p>I have written below piece:</p>
  
  <pre><code>..... &lt;&lt;something&gt;&gt;
  dummy:
          $ref: '#/definitions/dummy'
  ..... &lt;&lt;something&gt;&gt;
      dummy:
          type: array
          items:
            $ref: "#/definitions/dumm"
        dumm:
          properties:
            type: "object"
  </code></pre>
  
  <p>The error seen is <code>"should be object"</code> in front of the last line above.</p>
  
  <p>How to resolve this?</p>