title: How to define get method in Anypoint studio if queryParam is defined?
body: <p>Im trying to make a get method in Anypoint studio. I have already defined raml file with get method that looks something like this:</p>
  <pre><code>/kupci:
    get:
      queryParameters:
        active:
          required: false
          enum:
            - &quot;true&quot;
            - &quot;false&quot;
  </code></pre>
  <p>I want to make a get flow that returns data from mysql database with 2 options:</p>
  <ol>
  <li>if i have defined queryParam return everything from the database based of that condition</li>
  <li>if not defined, just return everything from database</li>
  </ol>