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"));

View File

@@ -15,7 +15,7 @@
"api"
],
"homepage": "http://openapi-generator.tech",
"license": "proprietary",
"license": "unlicense",
"authors": [
{
"name": "OpenAPI-Generator contributors",

View File

@@ -11,7 +11,7 @@
"api"
],
"homepage": "https://github.com/openapitools/openapi-generator",
"license": "proprietary",
"license": "unlicense",
"authors": [
{
"name": "openapi-generator contributors",

View File

@@ -14,7 +14,7 @@
"api"
],
"homepage": "https://openapi-generator.tech",
"license": "proprietary",
"license": "unlicense",
"authors": [
{
"name": "OpenAPI-Generator contributors",

View File

@@ -1,7 +1,7 @@
{
"name": "{{gitUserId}}/{{gitRepoId}}",
"description": "{{description}}",
"license": "proprietary",
"license": "unlicense",
"version": "{{artifactVersion}}",
"type": "project",
"require": {