title: Set List of Objects in Swagger API response
body: <p>I want to send a list of objects in the response of an API using Swagger.</p>
  
  <pre><code>@ApiResponse(code = 200, message = ApiResponseMessages.ITEM_FETCHED, 
  response = "")
  </code></pre>
  
  <p>I have a class - </p>
  
  <pre><code>class Item{
     int id;
     String item_name;
  }
  </code></pre>
  
  <p>I want a response like -</p>
  
  <pre><code>{
      {
         "id" : 0,
         "item_name" : ""
      }
      {
         "id" : 0,
         "item_name" : ""
      }
      {
         "id" : 0,
         "item_name" : ""
      }
  }
  </code></pre>
  
  <p>How can i do this. Any help would be appreciated.</p>