Merged
requested to merge github/fork/daberni/bugfix/4393-unhandledException-skipDefaultInterface into master
Fixes #4393 (closed) JavaSpring template by taking configuration options skipDefaultInterface
and unhandledException
into account simultaneously properly.
unhandledException
is no longer dependent on skipDefaultInterface
as it is applicable to all java versions and implementations independent from abstract classes, interfaces or interfaces with default implementations.
Added additional samples to verify this change and existing samples didn't get touched by it:
e.g.
ResponseEntity<Void> addPet(@ApiParam(value = "Pet object that needs to be added to the store" ,required=true ) @Valid @RequestBody Pet body);
becomes
ResponseEntity<Void> addPet(@ApiParam(value = "Pet object that needs to be added to the store" ,required=true ) @Valid @RequestBody Pet body) throws Exception;
PR checklist
-
Read the contribution guidelines. -
Pull Request title clearly describes the work in the pull request and Pull Request description provides details about how to validate the work. Missing information here may result in delayed response from the community. -
Run the following to build the project and update samples: ./mvnw clean package ./bin/generate-samples.sh ./bin/utils/export_docs_generators.sh
./bin/generate-samples.sh bin/configs/java*
. For Windows users, please run the script in Git BASH. -
File the PR against the correct branch: master
,5.1.x
,6.0.x
-
If your PR is targeting a particular programming language, @nmuesch the technical committee members, so they are more likely to review the pull request.