Package io.openapitools.swagger
Class GenerateMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
io.openapitools.swagger.GenerateMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="generate",
defaultPhase=PREPARE_PACKAGE,
requiresDependencyResolution=COMPILE_PLUS_RUNTIME)
public class GenerateMojo
extends org.apache.maven.plugin.AbstractMojo
Maven mojo to generate OpenAPI documentation document based on Swagger.
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors Constructor Description GenerateMojo() -
Method Summary
Modifier and Type Method Description voidexecute()Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
GenerateMojo
public GenerateMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-