issue#2543: added api_client to set content-type and accept for http request

This commit is contained in:
Guo Huang
2016-04-14 16:11:14 -07:00
parent 4f84c7d3bc
commit 11f90de808
9 changed files with 492 additions and 105 deletions

View File

@@ -134,6 +134,7 @@ public class GoClientCodegen extends DefaultCodegen implements CodegenConfig {
supportingFiles.add(new SupportingFile("git_push.sh.mustache", "", "git_push.sh"));
supportingFiles.add(new SupportingFile("gitignore.mustache", "", ".gitignore"));
supportingFiles.add(new SupportingFile("configuration.mustache", packageName, "configuration.go"));
supportingFiles.add(new SupportingFile("api_client.mustache", packageName, "api_client.go"));
}
@Override