Skip to content

Commit b8f434b

Browse files
baurceanuKirill Baurchanu
and
Kirill Baurchanu
authored
#155: Mark the maven plugin as threadsafe (#158)
Co-authored-by: Kirill Baurchanu <[email protected]>
1 parent c1cfc2e commit b8f434b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

maven-plugin/src/main/java/org/openapitools/openapistylevalidator/maven/OpenAPIStyleValidatorMojo.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import io.swagger.v3.parser.core.models.ParseOptions;
1919
import io.swagger.v3.parser.core.models.SwaggerParseResult;
2020

21-
@Mojo(name = "validate", defaultPhase = LifecyclePhase.VERIFY)
21+
@Mojo(name = "validate", defaultPhase = LifecyclePhase.VERIFY, threadSafe = true)
2222
public class OpenAPIStyleValidatorMojo extends AbstractMojo {
2323

2424
@Parameter(property = OpenApiSpecStyleValidator.INPUT_FILE)

0 commit comments

Comments
 (0)