Skip to content

Commit 19727c7

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

65 files changed

Lines changed: 0 additions & 130 deletions

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

samples/client/petstore/elixir/lib/openapi_petstore/api/another_fake.ex

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

42
defmodule OpenapiPetstore.Api.AnotherFake do
53
@moduledoc """

samples/client/petstore/elixir/lib/openapi_petstore/api/default.ex

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

42
defmodule OpenapiPetstore.Api.Default do
53
@moduledoc """

samples/client/petstore/elixir/lib/openapi_petstore/api/fake.ex

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

42
defmodule OpenapiPetstore.Api.Fake do
53
@moduledoc """

samples/client/petstore/elixir/lib/openapi_petstore/api/fake_classname_tags123.ex

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

42
defmodule OpenapiPetstore.Api.FakeClassnameTags123 do
53
@moduledoc """

samples/client/petstore/elixir/lib/openapi_petstore/api/pet.ex

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

42
defmodule OpenapiPetstore.Api.Pet do
53
@moduledoc """

samples/client/petstore/elixir/lib/openapi_petstore/api/store.ex

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

42
defmodule OpenapiPetstore.Api.Store do
53
@moduledoc """

0 commit comments

Comments
 (0)