Package ru.volnenko.plugin.openapidoc
Class Generator
java.lang.Object
org.apache.maven.plugin.AbstractMojo
ru.volnenko.plugin.openapidoc.Generator
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="generate",
defaultPhase=COMPILE)
public final class Generator
extends org.apache.maven.plugin.AbstractMojo
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanbooleanbooleanFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
serviceName
-
headerFirstEnabled
@Parameter(property="headerFirstEnabled") public boolean headerFirstEnabled -
headerSecondEnabled
@Parameter(property="headerSecondEnabled") public boolean headerSecondEnabled -
tableOfContentsEnabled
@Parameter(property="tableOfContentsEnabled") public boolean tableOfContentsEnabled -
outputPath
-
outputFile
-
outputJsonFile
-
outputJsonFileEnabled
-
outputJavaScriptFile
-
outputJavaScriptFileEnabled
-
outputYamlFile
-
outputYamlFileEnabled
-
-
Constructor Details
-
Generator
public Generator()
-
-
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
-
save
public void save() -
parse
-
generate
-
generate
-