forked from loafle/openapi-generator-original
issue#2543: added api_client to set content-type and accept for http request
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user