Skip to content

Commit 17f8931

Browse files
committed
add default help text for new ts option
1 parent d5d1c7b commit 17f8931

File tree

8 files changed

+1
-3
lines changed

8 files changed

+1
-3
lines changed

modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/AbstractTypeScriptClientCodegen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public AbstractTypeScriptClientCodegen() {
5454
// mapped to String as a workaround
5555
typeMapping.put("binary", "string");
5656

57-
cliOptions.add(new CliOption(CodegenConstants.MODEL_PROPERTY_NAMING, CodegenConstants.MODEL_PROPERTY_NAMING_DESC));
57+
cliOptions.add(new CliOption(CodegenConstants.MODEL_PROPERTY_NAMING, CodegenConstants.MODEL_PROPERTY_NAMING_DESC).defaultValue("camelCase"));
5858

5959

6060
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

samples/client/petstore/csharp/SwaggerClientTest/obj/Debug/.NETFramework,Version=v4.5.AssemblyAttribute.cs

Lines changed: 0 additions & 2 deletions
This file was deleted.
Binary file not shown.

0 commit comments

Comments
 (0)