title: Is there anyway to limit the number of QueryParam?
body: <p>I have an API that has a POST with 2 query params.</p>
  <p>The thing is, that I want to limit the user to only 1 of them.</p>
  <p>i.e.</p>
  <pre><code>@Post 
      public Response postIt(@QueryParam(&quot;item1&quot;) String item1, @QueryParam(&quot;item2&quot;) String item2) {
  .....
  }
  </code></pre>
  <p>is there any way to limit the user to send only 1 of them without validating it inside the method?
  so that it will throw an error if both item1 and item2 were sent.</p>
  <p>Thanks</p>