mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-21 06:37:10 +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"));
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"api"
|
||||
],
|
||||
"homepage": "http://openapi-generator.tech",
|
||||
"license": "proprietary",
|
||||
"license": "unlicense",
|
||||
"authors": [
|
||||
{
|
||||
"name": "OpenAPI-Generator contributors",
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
"api"
|
||||
],
|
||||
"homepage": "https://github.com/openapitools/openapi-generator",
|
||||
"license": "proprietary",
|
||||
"license": "unlicense",
|
||||
"authors": [
|
||||
{
|
||||
"name": "openapi-generator contributors",
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
"api"
|
||||
],
|
||||
"homepage": "https://openapi-generator.tech",
|
||||
"license": "proprietary",
|
||||
"license": "unlicense",
|
||||
"authors": [
|
||||
{
|
||||
"name": "OpenAPI-Generator contributors",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "{{gitUserId}}/{{gitRepoId}}",
|
||||
"description": "{{description}}",
|
||||
"license": "proprietary",
|
||||
"license": "unlicense",
|
||||
"version": "{{artifactVersion}}",
|
||||
"type": "project",
|
||||
"require": {
|
||||
|
||||
Reference in New Issue
Block a user