swagger-api / swagger-api/swagger-codegen

scala codegen ignores --templateDir

Open
#9,716 1 comment 1 reaction 1 assignee View on GitHub

@HugoMario is already working on this.

Since Sep 13, 2019.

Dominant language
Mustache
Stars
17.8k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

Description

Using --templateDir seems to have no effect for the scala generator. Full reproducer: https://github.com/akozumpl/gagger

Swagger-codegen version

docker image: swaggerapi/swagger-codegen-cli-v3:3.0.10

Swagger declaration file content or url

https://github.com/akozumpl/gagger/blob/master/src/main/swagger/model.yaml

Command line used for generation

https://github.com/akozumpl/gagger/blob/master/build-model

Steps to reproduce

Run the build-model script, notice the license headers generated do not reflect the customized template in https://github.com/akozumpl/gagger/blob/master/templates/licenseInfo.mustache

Related issues/PRs
Suggest a fix/enhancement

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.