Remove base_object from Ruby model

and move methods from base_object to each model so that model files will
have no dependency when generating "models only"
This commit is contained in:
xhh
2015-12-28 17:42:33 +08:00
parent 3a2447634c
commit 670e56f692
12 changed files with 483 additions and 120 deletions

View File

@@ -127,7 +127,6 @@ public class RubyClientCodegen extends DefaultCodegen implements CodegenConfig {
supportingFiles.add(new SupportingFile("configuration.mustache", gemFolder, "configuration.rb"));
supportingFiles.add(new SupportingFile("version.mustache", gemFolder, "version.rb"));
String modelFolder = gemFolder + File.separator + modelPackage.replace("/", File.separator);
supportingFiles.add(new SupportingFile("base_object.mustache", modelFolder, "base_object.rb"));
}
@Override