Class CodeGenMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- io.swagger.codegen.v3.maven.plugin.CodeGenMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="generate", defaultPhase=GENERATE_SOURCES, threadSafe=true) public class CodeGenMojo extends org.apache.maven.plugin.AbstractMojo
Goal which generates client/server code from a swagger json/yaml definition.
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,String>
environmentVariables
protected Map<String,String>
originalEnvironmentVariables
-
Constructor Summary
Constructors Constructor Description CodeGenMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
protected void
execute_()
-