I have configured swagger-codegen-plugin like that
<plugin>
<groupId>io.swagger</groupId>
<artifactId>swagger-codegen-maven-plugin</artifactId>
<version>2.1.5</version>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<inputSpec>${project.basedir}/src/main/resources/model.json</inputSpec>
<language>java</language>
<configOptions>
<sourceFolder>src/gen/java/main</sourceFolder>
</configOptions>
<modelPackage>com.mypackage</modelPackage>
<environmentVariables>
<models></models>
<supportingFiles>false</supportingFiles>
</environmentVariables>
</configuration>
</execution>
</executions>
</plugin>
Everything works, but when I change language to <language>html</language> nothing was generate.
So how to generation staitc html documentation?
target/generated-sources/swagger/folder? There should be aindex.htmlfile. I'm not sure whether it takes thesourceFolder