Skip to content

Commit

Permalink
Correction of conflict with PR OpenAPITools#528 (missing template file).
Browse files Browse the repository at this point in the history
  • Loading branch information
bcourtine committed Oct 17, 2018
1 parent ef0a2a2 commit aac88a5
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,10 @@ public void processOpts() {
supportingFiles.add(new SupportingFile("lib.rs.mustache", "src", "lib.rs"));
supportingFiles.add(new SupportingFile("Cargo.mustache", "", "Cargo.toml"));

if (HYPER_LIBRARY.equals(getLibrary())) {
supportingFiles.add(new SupportingFile("request.rs", apiFolder, "request.rs"));
}

supportingFiles.add(new SupportingFile(getLibrary() + "/configuration.mustache", apiFolder, "configuration.rs"));
supportingFiles.add(new SupportingFile(getLibrary() + "/client.mustache", apiFolder, "client.rs"));
supportingFiles.add(new SupportingFile(getLibrary() + "/api_mod.mustache", apiFolder, "mod.rs"));
Expand Down

0 comments on commit aac88a5

Please sign in to comment.