Setup authentications in test cases

This commit is contained in:
xhh
2015-05-22 12:07:08 +08:00
parent 16ba2a54ea
commit 43cfc7d401
8 changed files with 51 additions and 2 deletions

View File

@@ -61,6 +61,7 @@ public class JavaClientCodegen extends DefaultCodegen implements CodegenConfig {
supportingFiles.add(new SupportingFile("auth/Authentication.mustache", authFolder, "Authentication.java"));
supportingFiles.add(new SupportingFile("auth/HttpBasicAuth.mustache", authFolder, "HttpBasicAuth.java"));
supportingFiles.add(new SupportingFile("auth/ApiKeyAuth.mustache", authFolder, "ApiKeyAuth.java"));
supportingFiles.add(new SupportingFile("auth/OAuth.mustache", authFolder, "OAuth.java"));
languageSpecificPrimitives = new HashSet<String>(
Arrays.asList(