title: open api 3 default Array generation
body: <p>My API definition is as follows:</p>
  
  <pre><code>/api:
    get:
    ...
    parameters:
       - name: "tags"
         in: "query"
         description: "some description"
         required: false
         schema:
           type: "array"
           items:
             type: "string"
    ....
  </code></pre>
  
  <p>We are using <code>openapi-generator-maven-plugin:3.3.5</code> for code generation.</p>
  
  <p>The API param that is generated: <code>@ApiParam(value = "description", defaultValue = "new ArrayList&lt;&gt;()")</code></p>
  
  <p>The actual param that the Controller receives is not empty and contains the literal <code>new ArrayList&lt;&gt;()</code> as the first element:</p>
  
  <pre><code>String first = tags.get(0);
  assert "new ArrayList&lt;&gt;()".equals(first) //true
  </code></pre>
  
  <p>I couldn't find any param value that controls this behaviour (like defaultValue). 
  How can I make the param to be null or at least, an empty list?</p>
  
  <p><em>using sagger in a Spring boot app:</em></p>
  
  <pre><code> &lt;dependency&gt;
    &lt;groupId&gt;io.springfox&lt;/groupId&gt;
    &lt;artifactId&gt;springfox-swagger2&lt;/artifactId&gt;
    &lt;version&gt;${io.springfox.swagger.version}&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p><em>openapitools generator config options</em></p>
  
  <pre><code>  &lt;configOptions&gt;
        &lt;dateLibrary&gt;java8&lt;/dateLibrary&gt;
        &lt;serializationLibrary&gt;jackson&lt;/serializationLibrary&gt;
        &lt;interfaceOnly&gt;true&lt;/interfaceOnly&gt;
        &lt;delegatePattern&gt;true&lt;/delegatePattern&gt;
        &lt;useTags&gt;true&lt;/useTags&gt;
    &lt;/configOptions&gt;
  </code></pre>