swagger-api / swagger-api/swagger-codegen
scala codegen ignores --templateDir
Open
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.