File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
maven/src/main/java/org/openapitools/openapidiff/maven Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 1
1
package org .openapitools .openapidiff .maven ;
2
2
3
+ import java .io .File ;
4
+ import java .io .FileWriter ;
5
+ import java .io .IOException ;
3
6
import org .apache .maven .plugin .AbstractMojo ;
4
7
import org .apache .maven .plugin .MojoExecutionException ;
5
8
import org .apache .maven .plugin .MojoFailureException ;
11
14
import org .openapitools .openapidiff .core .output .ConsoleRender ;
12
15
import org .openapitools .openapidiff .core .output .HtmlRender ;
13
16
14
- import java .io .File ;
15
- import java .io .FileWriter ;
16
- import java .io .IOException ;
17
-
18
17
/** A Maven Mojo that diffs two OpenAPI specifications and reports on differences. */
19
18
@ Mojo (name = "diff" , defaultPhase = LifecyclePhase .TEST )
20
19
public class OpenApiDiffMojo extends AbstractMojo {
@@ -31,10 +30,10 @@ public class OpenApiDiffMojo extends AbstractMojo {
31
30
Boolean failOnChanged = false ;
32
31
33
32
@ Parameter (property = "outputType" )
34
- String outputType ;
33
+ String outputType = "" ;
35
34
36
35
@ Parameter (property = "outputFile" )
37
- String outputFile ;
36
+ String outputFile = "" ;
38
37
39
38
@ Parameter (property = "skip" , defaultValue = "false" )
40
39
Boolean skip = false ;
You can’t perform that action at this time.
0 commit comments