Clean up the license field in various templates to ensure it's unlicense by default. (#2627)

This commit is contained in:
kacbuk001
2019-04-09 04:38:06 +02:00
committed by William Cheng
parent 2c26fd3a89
commit 07ebccd455
20 changed files with 229 additions and 13 deletions

View File

@@ -54,7 +54,7 @@ public class RubyClientCodegen extends AbstractRubyCodegen {
protected String gemVersion = "1.0.0";
protected String specFolder = "spec";
protected String libFolder = "lib";
protected String gemLicense = "proprietary";
protected String gemLicense = "unlicense";
protected String gemRequiredRubyVersion = ">= 1.9";
protected String gemHomepage = "http://org.openapitools";
protected String gemSummary = "A ruby wrapper for the REST APIs";
@@ -120,7 +120,7 @@ public class RubyClientCodegen extends AbstractRubyCodegen {
cliOptions.add(new CliOption(GEM_VERSION, "gem version.").defaultValue("1.0.0"));
cliOptions.add(new CliOption(GEM_LICENSE, "gem license. ").
defaultValue("proprietary"));
defaultValue("unlicense"));
cliOptions.add(new CliOption(GEM_REQUIRED_RUBY_VERSION, "gem required Ruby version. ").
defaultValue(">= 1.9"));