forked from loafle/openapi-generator-original
update option value in ruby generator
This commit is contained in:
+3
-3
@@ -141,10 +141,10 @@ public class RubyClientCodegen extends AbstractRubyCodegen {
|
||||
defaultValue("unlicense"));
|
||||
|
||||
cliOptions.add(new CliOption(GEM_REQUIRED_RUBY_VERSION, "gem required Ruby version. ").
|
||||
defaultValue(">= 1.9"));
|
||||
defaultValue(">= 2.4"));
|
||||
|
||||
cliOptions.add(new CliOption(GEM_HOMEPAGE, "gem homepage. ").
|
||||
defaultValue("http://org.openapitools"));
|
||||
defaultValue("https://openapi-generator.tech"));
|
||||
|
||||
cliOptions.add(new CliOption(GEM_SUMMARY, "gem summary. ").
|
||||
defaultValue("A ruby wrapper for the REST APIs"));
|
||||
@@ -152,7 +152,7 @@ public class RubyClientCodegen extends AbstractRubyCodegen {
|
||||
cliOptions.add(new CliOption(GEM_DESCRIPTION, "gem description. ").
|
||||
defaultValue("This gem maps to a REST API"));
|
||||
|
||||
cliOptions.add(new CliOption(GEM_AUTHOR, "gem author (only one is supported)."));
|
||||
cliOptions.add(new CliOption(GEM_AUTHOR, "gem author (only one is supported).").defaultValue("OpenAPI-Generator"));
|
||||
|
||||
cliOptions.add(new CliOption(GEM_AUTHOR_EMAIL, "gem author email (only one is supported)."));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user