update test case for perl

This commit is contained in:
wing328
2015-11-06 21:24:04 +08:00
parent 0d12f32b05
commit f7ffc7f118
2 changed files with 6 additions and 1 deletions

View File

@@ -1,5 +1,7 @@
package io.swagger.codegen.options;
import io.swagger.codegen.CodegenConstants;
import io.swagger.codegen.languages.PerlClientCodegen;
import com.google.common.collect.ImmutableMap;
@@ -20,6 +22,8 @@ public class PerlClientOptionsProvider implements OptionsProvider {
ImmutableMap.Builder<String, String> builder = new ImmutableMap.Builder<String, String>();
return builder.put(PerlClientCodegen.MODULE_NAME, MODULE_NAME_VALUE)
.put(PerlClientCodegen.MODULE_VERSION, MODULE_VERSION_VALUE)
.put(CodegenConstants.SORT_PARAMS_BY_REQUIRED_FLAG, "true")
.put(CodegenConstants.ENSURE_UNIQUE_PARAMS, "true")
.build();
}