Ruby: fix class name reference of nested model

and model name in underscore format, e.g. "my_response".

Closes #2140
This commit is contained in:
xhh
2016-02-18 15:12:34 +08:00
parent c4d799a4a7
commit a21493f2db
4 changed files with 40 additions and 12 deletions

View File

@@ -316,7 +316,7 @@ public class RubyClientCodegen extends DefaultCodegen implements CodegenConfig {
if (type == null) {
return null;
}
return type;
return toModelName(type);
}
@Override