-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
Milestone
Description
Description
I tried to generate a Jersey 2 server stub using Codegen, by passing a JSON config file. In that config file, I set the library to be Jersey 2. However, when checking the generated code, I found that it has used Jersey version 1.18.1. The config file seems to be processed correctly, since other properties I had set in it were configured correctly in the pom file (such as groupId, artifactId etc).
Swagger-codegen version
I built Codegen from the master branch.
Command line used for generation
java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar generate -i <path-to-spec>/docker-registry.yaml -c <path-to-config-file>/swagger-codegen-config.json -o samples/server/jersey2-server -l jaxrs
Related issues
Issue #2488