forked from loafle/openapi-generator-original
[htmlDocs2] inconsistent python method name between html2 and python generator (#5711)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user