[2152] Do not inject Jackson dependencies - JAX-RS spec client
PR checklist
- [ ] Read the contribution guidelines.
- [ ] Ran the shell script under
./bin/to update Petstore sample so that CIs can verify the change. (For instance, only need to run./bin/{LANG}-petstore.shand./bin/security/{LANG}-petstore.shif updating the {LANG} (e.g. php, ruby, python, etc) code generator or {LANG} client's mustache templates). Windows batch files can be found in.\bin\windows\. - [ ] Filed the PR against the correct branch: master for non-breaking changes and
3.0.0branch for breaking (non-backward compatible) changes.
Description of the PR
(details of the change, additional tests that have been done, reference to the issue for tracking, etc)
Two additional notes about the file changes:
a) I did not intentional change these files, but there appears to be two files with conflicting names in samples/client/petstore/typescript-angular2/with-interfaces/model.
apiResponse.ts and ApiResponse.ts
I was not able to keep both when using eGit.
b) Although most of the mustache files are 'similiar' to other libraries, I'd like to more critique on: modules/swagger-codegen/src/main/resources/Java/libraries/jaxrs-spec/ApiClient.mustache. eg. in the serialize method, I made a comment on multipart/form-data. In other libraries, it is supported.
@keithchong thanks for the PR. I got errors when running mvn test with the Java (jaxrs-spec) petstore client: https://github.com/swagger-api/swagger-codegen/tree/keithchong-2152-DoNotInjectJacksonDependencies-JaxRsSpecClient/samples/client/petstore/java/jaxrs-spec
I wonder if you can take a look to see if you can reproduce the error.
@keithchong do you need help reproducing the issue?
Hi @wing328, it appears that the sample tests for jaxrs-spec are not there, correct?
@keithchong I manually created the jaxrs-spec petstore samples when testing it. I can recreate that branch tomorrow.
UPDATE: added back the samples in that branch, https://github.com/swagger-api/swagger-codegen/tree/keithchong-2152-DoNotInjectJacksonDependencies-JaxRsSpecClient/samples/client/petstore/java/jaxrs-spec
@keithchong do you need help reproducing the issue?