-
Notifications
You must be signed in to change notification settings - Fork 6k
[Java] Refine CXF Add Spring Annotation-Config, Jboss flag for CXF/Resteasy, fix OuterEnum #4164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@wing328 the samples for server/petstore/jaxrs-cxf in the master are outdated (and source folder is gen/java instead of new src/gen/java) and client/jaxrs-cxf is missing. I assume you want to have the files generated with default-options. |
|
@wing328 updated samples/petstore for jaxrs-cxf and added the new client/petstore/jars-cxf + verified both compile. For the API-tests I had to comment the invocation and assertion as there is a problem with the uploadFile-test of PetApiTest.java because java.io.File is used instead of org.apache.cxf.jaxrs.ext.multipart.Attachment. But I think this should be better solved in a separate issue, then we can also invoke the tests of the generated methods and thus ensure the generated tests are actually running. |
|
I'll review this weekend and let you know if I've any question. |
|
@wing328 also added CLI-flag useSwaggerUI to allow SwaggerUI to be used immediately. |
|
@jfiala I went through all the changes, which look good to me. Thanks for the contribution. |
… + fix OuterEnum (swagger-api#4164) * add json annotations * add cli flag to check for jaxb annotations * add CLI-flag for switching Spring-XML or annotation config swagger-api#4088 * add cli flag for generating jboss depl. descriptor swagger-api#4088 * add JbossFeature CLI flag to Resteasy swagger-api#4088 * update/add tests swagger-api#4088 * cleanup tabs swagger-api#4088 * improve api formatting swagger-api#4088 * refine formatting swagger-api#4088 * refine formatting again swagger-api#4088 * add separate CLI-flags for controlling junit test features swagger-api#4088 * add json annotations * add cli flag to check for jaxb annotations * add CLI-flag for switching Spring-XML or annotation config swagger-api#4088 * add cli flag for generating jboss depl. descriptor swagger-api#4088 * add JbossFeature CLI flag to Resteasy swagger-api#4088 * update/add tests swagger-api#4088 * cleanup tabs swagger-api#4088 * improve api formatting swagger-api#4088 * refine formatting swagger-api#4088 * refine formatting again swagger-api#4088 * add separate CLI-flags for controlling junit test features swagger-api#4088 * add check for void methods + assertNotNull(response) swagger-api#4088 * add spaces for @produces swagger-api#4088 * allow build with no web.xml config swagger-api#4088 * comment invocations of tests swagger-api#4088 * update petstore sample jaxrs-cxf server with gen/java first swagger-api#4088 * re-generate jaxrs-cxf with src/gen/java swagger-api#4088 * add client jaxrs-cxf swagger-api#4088 * add switch to load SwaggerUI automatically swagger-api#4088 * update to CXF 3.1.8 including supportSwaggerUi flag swagger-api#4088 * update to cxf 3.1.8 and swagger-core 1.5.10 swagger-api#4088 * update generated petstore for jaxrs-cxf swagger-api#4088 * change Spring Boot urls to root swagger-api#4088 * fix spring xml config swagger-api#4088 * fix external enum usage for jaxrs-cxf swagger-api#4160 * cleanup jaxrs-annotations in impl class * fix handling of multiparts swagger-api#4088 * fix @Min/@max comments in beanValidationQueryParams swagger-api#4088 * add swagger-codegen-ignore file+add src/test/resources swagger-api#4088 * add cli-flag for produces/consumes json in api swagger-api#4088 * add test case for outerEnum swagger-api#4160
PR checklist
./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)2.3.0branch for breaking (non-backward compatible) changes.Description of the PR
see #4088 for cxf improvements
see #4160 + #3859 for cxf enumOuterClass.mustache fix
former PR see #4147 (closed as showed all changes from master)