Package io.swagger.v3.plugin.maven
Class SwaggerMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- io.swagger.v3.plugin.maven.SwaggerMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="resolve", requiresDependencyResolution=COMPILE_PLUS_RUNTIME, defaultPhase=COMPILE, threadSafe=true, configurator="include-project-dependencies") public class SwaggerMojo extends org.apache.maven.plugin.AbstractMojo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSwaggerMojo.Format
-
Constructor Summary
Constructors Constructor Description SwaggerMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()StringgetOpenapiFilePath()StringgetOutputPath()
-
-
-
Method Detail
-
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
-
getOutputPath
public String getOutputPath()
-
getOpenapiFilePath
public String getOpenapiFilePath()
-
-