Skip to content

Commit e45c1d7

Browse files
committed
remove licenseHeader option and default to empty license header
1 parent f40f790 commit e45c1d7

185 files changed

Lines changed: 94 additions & 130 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/generators/elixir.md

Lines changed: 0 additions & 1 deletion

modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/ElixirClientCodegen.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,6 @@ public ElixirClientCodegen() {
233233

234234
cliOptions.add(new CliOption(CodegenConstants.INVOKER_PACKAGE,
235235
"The main namespace to use for all classes. e.g. Yay.Pets"));
236-
cliOptions.add(new CliOption("licenseHeader", "The license header to prepend to the top of all source files."));
237236
cliOptions.add(new CliOption(CodegenConstants.PACKAGE_NAME, "Elixir package name (convention: lowercase)."));
238237
}
239238

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +0,0 @@
1-
{{#licenseHeader}}{{.}}
2-
3-
{{/licenseHeader}}
4-
# NOTE: This file is auto generated by OpenAPI Generator {{generatorVersion}} (https://openapi-generator.tech).
5-
# Do not edit this file manually.

modules/openapi-generator/src/test/java/org/openapitools/codegen/options/ElixirClientOptionsProvider.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ public Map<String, String> createOptions() {
4141
.put(CodegenConstants.ENSURE_UNIQUE_PARAMS, "false")
4242
.put(CodegenConstants.ALLOW_UNICODE_IDENTIFIERS, "false")
4343
.put(CodegenConstants.INVOKER_PACKAGE, "Yay.Pets")
44-
.put("licenseHeader", "# Copyright 2017 Me\n#\n# Licensed under the Apache License")
4544
.put(CodegenConstants.PACKAGE_NAME, "yay_pets")
4645
.put(CodegenConstants.PREPEND_FORM_OR_BODY_PARAMETERS, PREPEND_FORM_OR_BODY_PARAMETERS_VALUE)
4746
.put(CodegenConstants.LEGACY_DISCRIMINATOR_BEHAVIOR, "true")
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
~> 1.6
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)