title: How to apply Field filter in Quarkus Rest API
body: <p>I am using Quarkus Rest API and my resource has lots of fields. I want to support fields in query parameter so that my response can contain only those fields mentioned in the client request, Does quarkus has in built support for fields parameter? How to implement it?</p>
  <p>For example my resource is Person, it has id, name, address, phoneNumber, department etc.</p>
  <p>My rest api should support</p>
  <ol>
  <li>/persons? :
  response should be [{&quot;name&quot;:&quot;abc&quot;,&quot;id&quot;:1,&quot;address&quot;:&quot;myaddress&quot;,&quot;phoneNumber&quot;:&quot;32423423&quot;,....},{..}]</li>
  <li>/person?fields=name,phoneNumber
  response should be [{&quot;name&quot;:&quot;abc&quot;,&quot;phoneNumber&quot;:&quot;32423423&quot;},{..}]</li>
  </ol>