[htmlDocs2] inconsistent python method name between html2 and python generator (#5711)

This commit is contained in:
Takuro Wada
2017-05-26 18:24:06 +09:00
committed by wing328
parent 84df23f025
commit a2240ac619
5 changed files with 24 additions and 21 deletions

View File

@@ -37,6 +37,7 @@ public class CodegenOperation {
public String nickname; // legacy support
public String operationIdLowerCase; // for mardown documentation
public String operationIdCamelCase; // for class names
public String operationIdSnakeCase;
/**
* Check if there's at least one parameter

View File

@@ -2888,6 +2888,7 @@ public class DefaultCodegen {
co.operationId = uniqueName;
co.operationIdLowerCase = uniqueName.toLowerCase();
co.operationIdCamelCase = DefaultCodegen.camelize(uniqueName);
co.operationIdSnakeCase = DefaultCodegen.underscore(uniqueName);
opList.add(co);
co.baseName = tag;
}