Merge pull request #3492 from wing328/ruby_optional_validation

[Ruby] fix validation for optional parameters/properties for ruby
This commit is contained in:
wing328
2016-08-01 17:12:39 +08:00
committed by GitHub
6 changed files with 118 additions and 63 deletions

View File

@@ -230,7 +230,6 @@ public class RubyClientCodegen extends DefaultCodegen implements CodegenConfig {
supportingFiles.add(new SupportingFile("README.mustache", "", "README.md"));
supportingFiles.add(new SupportingFile("git_push.sh.mustache", "", "git_push.sh"));
supportingFiles.add(new SupportingFile("gitignore.mustache", "", ".gitignore"));
supportingFiles.add(new SupportingFile("LICENSE", "", "LICENSE"));
// test files should not be overwritten
writeOptional(outputFolder, new SupportingFile("rspec.mustache", "", ".rspec"));