Skip to content

Commit

Permalink
Merge pull request #56 from atsu85/issues-55-write-JS
Browse files Browse the repository at this point in the history
fix #55 - write JS to writer given as an argument (maven plugin creat…
  • Loading branch information
atsu85 authored Aug 30, 2016
2 parents 508bb4f + c5d8566 commit d32cc99
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ public void generateJavascript(String moduleName, Writer writer) throws JsonGene
// Replace template values
String out = jsTemplate.replace(MODULE_NAME_PLACEHOLDER, moduleName);
out = out.replace(JSON_PLACEHOLDER, jsonOut.toString());
writer.write(out);
}

private RestMethod generateMethod(Method method) {
Expand Down

0 comments on commit d32cc99

Please sign in to comment.