add default help text for new ts option

This commit is contained in:
wing328
2016-01-25 14:53:24 +08:00
parent d5d1c7b98f
commit 17f8931887
8 changed files with 1 additions and 3 deletions

View File

@@ -54,7 +54,7 @@ public abstract class AbstractTypeScriptClientCodegen extends DefaultCodegen imp
// mapped to String as a workaround
typeMapping.put("binary", "string");
cliOptions.add(new CliOption(CodegenConstants.MODEL_PROPERTY_NAMING, CodegenConstants.MODEL_PROPERTY_NAMING_DESC));
cliOptions.add(new CliOption(CodegenConstants.MODEL_PROPERTY_NAMING, CodegenConstants.MODEL_PROPERTY_NAMING_DESC).defaultValue("camelCase"));
}