title: How to generate spring cloud feign client using swagger-codegen-maven-plugin
body: <p>I want to generate my feign client code using swagger-codegen, but I cannot find the docs which can lead me to do it.</p>
  
  <p>I have a microservice using spring cloud, several api-services using spring-cloud-feign interfaces to request the data.I wish that i can generate the feign client code.</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;http://localhost:9141/v2/api-docs?group=building-service-api&lt;/inputSpec&gt;
                              &lt;language&gt;java&lt;/language&gt;
                              &lt;output&gt;${project.build.directory}/generated-sources/swagger&lt;/output&gt;
                              &lt;library&gt;feign&lt;/library&gt;
                          &lt;/configuration&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt; 
  </code></pre>
  
  <p>language/library set to 'java/feign', there are only models without feign client;</p>
  
  <p>language set to 'spring', 'feign' is unsupported library.</p>
  
  <p>I am confused how to generate all my code? There seems to be almost no guideline or doc or demo? </p>