Skip to content

Commit

Permalink
Remove the .dto suffix from the modelPackage config
Browse files Browse the repository at this point in the history
  • Loading branch information
sahandilshan committed Dec 2, 2021
1 parent 06b3392 commit 4357857
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/wso2/maven/plugins/APIGenMojo.java
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public void execute()
config.additionalProperties().put("apiPackage", project.getArtifact().getArtifactId());
}
if (modelPackage != null && !modelPackage.isEmpty()) {
config.additionalProperties().put("modelPackage", modelPackage + ".dto");
config.additionalProperties().put("modelPackage", modelPackage);
} else {
config.additionalProperties().put("modelPackage", project.getArtifact().getArtifactId() + ".dto");
}
Expand Down

0 comments on commit 4357857

Please sign in to comment.