title: How to remove ApiUtil.java from openApi geneate task with openapi-generator-gradle-plugin:4.3.0
body: <p>I have am using <code>openapi-generator-gradle-plugin:4.3.0</code> to generate the api and models from a <code>openApi-generate.yaml</code> file. I have set <code>skipDefaultInterface: &quot;true&quot;</code> in configOptions, the default implementation of interfaces is not generated and <code>ApiUtil.java</code> is not used anywhere. (The default implementations used <code>ApiUtil.java</code>)</p>
  <p>What I want is to remove (disable the generation of) <code>ApiUtil.java</code> from generated_sources, as it is not used in code, and its default code is creating security-issues in pipeline as well.</p>
  <p>What I have tried: I have tried adding different options::</p>
  <ol>
  <li><code>supportingFilesConstrainedTo = []</code></li>
  <li><code>supportingFiles = &quot;&quot;</code></li>
  <li><code>supportingFilesToGenerate = &quot;&quot;</code></li>
  <li><code>apiFilesConstrainedTo = []</code></li>
  </ol>
  <p>But I haven't been able to remove this file from being generated. I went through this: <a href="https://openapi-generator.tech/docs/customization/" rel="nofollow noreferrer">OpenApi generation Customization</a>, but looks like it is not applicable for the given version.</p>
  <p>Current gradle buildscript looks as:</p>
  <pre><code>task generateTask(type: org.openapitools.generator.gradle.plugin.tasks.GenerateTask) {
      generatorName = &quot;spring&quot;
      inputSpec = &quot;$projectDir/src/main/resources/specs/openApi-generate.yaml&quot;
      outputDir = &quot;$buildDir/generated-sources&quot;
      apiPackage = &quot;com.example.openapi.api&quot;
      modelPackage = &quot;com.example.openapi.model&quot;
      generateModelDocumentation = false
      generateApiDocumentation = false
      generateModelTests = false
      generateApiTests = false
      configOptions = [
          dateLibrary: &quot;java8&quot;,
          interfaceOnly: &quot;true&quot;,
          serializableModel: &quot;true&quot;,
          skipDefaultInterface: &quot;true&quot;
      ]
  }
  </code></pre>