title: how to avoid default method implementation in swagger codegen interface?
body: <p>I would like to avoid "default" implementation in interface generate by the maven plugin swagger codegen.
  For example, with petstore swagger : <a href="http://petstore.swagger.io/v2/swagger.json" rel="nofollow noreferrer">http://petstore.swagger.io/v2/swagger.json</a></p>
  
  <p>I generate interface with maven plugin :</p>
  
  <pre><code>            &lt;plugin&gt;
              &lt;groupId&gt;io.swagger&lt;/groupId&gt;
              &lt;artifactId&gt;swagger-codegen-maven-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.2.3&lt;/version&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;generate&lt;/goal&gt;
                      &lt;/goals&gt;
                      &lt;configuration&gt;
                          &lt;inputSpec&gt;./src/main/resources/swagger/api.yml&lt;/inputSpec&gt;
                          &lt;language&gt;spring&lt;/language&gt;
                          &lt;generateSupportingFiles&gt;false&lt;/generateSupportingFiles&gt;
                          &lt;configOptions&gt;
                              &lt;interfaceOnly&gt;true&lt;/interfaceOnly&gt;
                              &lt;java8&gt;true&lt;/java8&gt;
                          &lt;/configOptions&gt;
                      &lt;/configuration&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;
          &lt;/plugin&gt;
  </code></pre>
  
  <p>I generate interface like PetApi.java with default implementation of methods :</p>
  
  <pre><code>    default ResponseEntity&lt;Void&gt; addPet(@ApiParam(value = "Pet object that needs to be added to the store" ,required=true )  @Valid @RequestBody Pet body) {
      // do some magic!
      return new ResponseEntity&lt;Void&gt;(HttpStatus.OK);
      }
  </code></pre>
  
  <p>I would like to avoid it like</p>
  
  <pre><code>    ResponseEntity&lt;Void&gt; addPet(@ApiParam(value = "Pet object that needs to be added to the store" ,required=true )  @Valid @RequestBody Pet body);
  </code></pre>
  
  <p>Is it possible to do it ?</p>
  
  <blockquote>
    <p>Update March 2020:</p>
    
    <p>According to new OpenAPI Tool <code>openapi-generator</code><br>
    There is an option with <code>spring</code> (<code>language</code> is DEPRECATED, use <code>generatorName</code>)</p>
    
    <p><code>skipDefaultInterface</code></p>
    
    <p><a href="https://github.com/OpenAPITools/openapi-generator/blob/master/docs/generators/spring.md" rel="nofollow noreferrer">https://github.com/OpenAPITools/openapi-generator/blob/master/docs/generators/spring.md</a></p>
  </blockquote>