swagger-api / swagger-api/swagger-codegen
[Spring][maven-plugin] templateDirectory attribute does not work.
Open
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Description
<templateDirectory> attribute does not work. Instead of my templates, plugin uses default templates. This attribute was working on on 2.2.1.
Swagger-codegen version
2.2.2
Steps to reproduce
Just change version of the plugin from 2.2.1 to 2.2.2, leave the rest same.
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.
Research direction
Start by reproducing the issue with the Spring Maven plugin, comparing versions 2.2.1 and 2.2.2 while keeping the rest of the configuration unchanged. Trace how the templateDirectory attribute is handled and verify that custom templates, rather than the defaults, are used in 2.2.2.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- spring
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100