Skip to content

Commit 69c93db

Browse files
corrected classifier
1 parent ee227f0 commit 69c93db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/openapitools/swagger/GenerateMojo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public void execute() throws MojoExecutionException, MojoFailureException {
8989
File outputFile = new File(outputDirectory, outputFilename + "." + format.name().toLowerCase());
9090
format.write(swagger, outputFile);
9191
if (attachSwaggerArtifact) {
92-
projectHelper.attachArtifact(project, format.name().toLowerCase(), outputFilename, outputFile);
92+
projectHelper.attachArtifact(project, format.name().toLowerCase(), "swagger", outputFile);
9393
}
9494
} catch (IOException e) {
9595
throw new RuntimeException("Unable write " + outputFilename + " document", e);

0 commit comments

Comments
 (0)