title: How to pass complex object as a query string in Swagger using Swashbuckle
body: <p>I have a complex object to be passed as query string in ASP.Net Core 3.2.</p>
  
  <pre><code>public class Customer
  {
      public string Firstname { get; set; }
      public List&lt;Address&gt; Addresses { get; set; }
  }
  
  public class Address
  {
      public string Home_Address { get; set; }
      public string Office_Address { get; set; }
  }
  </code></pre>
  
  <p>It works in Postman as below:</p>
  
  <pre><code>http://localhost:52100/v1/Customer?Addresses[0].Home_Address=123HomeStreet&amp;Addresses[0].Office_Address=123OfficeStreet
  </code></pre>
  
  <p>But, how to pass the value in Swagger documentation for Addresses which is of type "array[object] (query)"
  <a href="http://localhost:52100/v1/swagger-ui/index.html" rel="noreferrer">http://localhost:52100/v1/swagger-ui/index.html</a></p>
  
  <p>I have Swashbuckle.AspNetCore 5.4.1, Swashbuckle.AspNetCore.Annotations 5.4.1, Swashbuckle.AspNetCore.Filters 5.1.1 references added in my project</p>