forked from loafle/openapi-generator-original
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:
@@ -316,7 +316,7 @@ public class RubyClientCodegen extends DefaultCodegen implements CodegenConfig {
|
||||
if (type == null) {
|
||||
return null;
|
||||
}
|
||||
return type;
|
||||
return toModelName(type);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user