Skip to content

Embedded mustache files are used even if TemplateFolder option is specified and contains a different version of the mustache file (in a library folder) #4627

Closed
@eblis

Description

@eblis
Description

I'm trying to generate Spring-Boot server sources from a swagger.json file and I'm specifying my own TemplateFolder which was copied from the original JavaSpring template folder and subsequently modified. I've modified the pom.mustache file for all 3 Spring libraries (spring-boot, spring-cloud and spring-mvc) and none are taken into consideration while generating for spring-boot library.

Swagger-codegen version

2.2.2-SNAPSHOT

Command line used for generation

./java -jar swagger-codegen-cli.jar generate -i swagger.json -c spring-config.json -l spring -o samples/server/test -t JavaSpring-Modified

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions