title: @ApiResponse swagger springfox - use of custom response container
body: <p>I am trying to display a custom container as a success response in swagger. I am unable to describe the desired model for this</p>
  
  <pre><code>@ApiResponse (code = 200, message = "Successfully retrieved report info", response = PagedResponse.class
  </code></pre>
  
  <p>THis PagedResponseInfo is actually a custom collection </p>
  
  <pre><code>public class PagedResponse&lt;T&gt; {
  
      private long page;
      private long pageSize;
      private long totalRecords;
      private List&lt;T&gt; records;
  }
  </code></pre>
  
  <p>How do I specify the container for this if it were to contain a collection of <strong>Report</strong> objects in it? Could someone help me out please? I use springfox swagger -2.9.2 in spring boot</p>