title: Object as query string param in API on Open API Specification Swagger
body: <p>I have an API which is accepting query param as Object. I am using this to add multiple filters to filter the result.</p>
  <p>When I hit the request from swagger, I am getting null for my filter object in the controller.</p>
  <p><code>userFilter</code> is the POJO class. It is used as a <code>query param</code> and in the controller, it is coming as null.</p>
  <p>On swagger, it is showing as below</p>
  <p><a href="https://i.stack.imgur.com/JOffa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JOffa.png" alt="swagger screenshot" /></a></p>
  <p><code>userFilter</code> object is not getting constructed and getting NullPointerException in controller class when trying to access any field from userFilter.</p>