mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2026-03-17 04:59:04 +00:00
Clean up the license field in various templates to ensure it's unlicense by default. (#2627)
This commit is contained in:
@@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user