mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2026-03-12 05:29:11 +00:00
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