title: Generate code from spec in Springdoc Open API 3
body: <p>I'm moving from swagger (Open API 2) to springdoc (Open API 3), but today in some cases I use swagger-codegen-maven-plugin to generate code (for client and provider)from yaml, following the Contract First strategy. Bellow the configuration example:</p>
  
  <pre class="lang-xml prettyprint-override"><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.4.9&lt;/version&gt;
      &lt;executions&gt;
          &lt;execution&gt;
              &lt;id&gt;generate-provider-v1&lt;/id&gt;
              &lt;phase&gt;generate-resources&lt;/phase&gt;
              &lt;goals&gt;
                  &lt;goal&gt;generate&lt;/goal&gt;
              &lt;/goals&gt;
          &lt;/execution&gt;
      &lt;/executions&gt;
      &lt;configuration&gt;
          &lt;inputSpec&gt;${project.basedir}/src/main/resources/swagger/my-api.yaml&lt;/inputSpec&gt;
          &lt;output&gt;${project.build.directory}/generated-sources/swagger&lt;/output&gt;
          &lt;language&gt;spring&lt;/language&gt;
          &lt;library&gt;spring-boot&lt;/library&gt;
          &lt;modelPackage&gt;br.com.sample.representation&lt;/modelPackage&gt;
          &lt;apiPackage&gt;br.com.sample.adapter.controller.v1&lt;/apiPackage&gt;
          &lt;generateSupportingFiles&gt;true&lt;/generateSupportingFiles&gt;
          &lt;configOptions&gt;
              &lt;interfaceOnly&gt;true&lt;/interfaceOnly&gt;
              &lt;delegatePattern&gt;true&lt;/delegatePattern&gt;
              &lt;dateLibrary&gt;java8&lt;/dateLibrary&gt;
          &lt;/configOptions&gt;
          &lt;modelNameSuffix&gt;Representation&lt;/modelNameSuffix&gt;
          &lt;generateSupportingFiles&gt;false&lt;/generateSupportingFiles&gt;
      &lt;/configuration&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>There are any equivalent option to generate code with springdoc-openapi-maven-plugin?</p>