-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
PR JSR-303 support for Request Parameters + Fix 1244 Allowable values not displayed in Apidocs + 1231 Externalizing Api Descriptions #1254
Conversation
Don't include a license object when both license and licenseUrl are e… fixes springfox#1264
Cleaned up sources, now code coverage needs to get improved. |
(ApiModel/ApiModelProperty/...) springfox#1232
Added a ApiDescriptionPropertiesReader and associated plugins (Parameter/ExpandedParameter/ModelProperty) to implement #1232 In fact, this should be moved to another module (as it has nothing to do with the validators). |
(ApiModel/ApiModelProperty/...) springfox#1232
(ApiModel/ApiModelProperty/...) springfox#1232
Added tests around stopping and starting the bootstrapper
feat(coverage) springfox.bean 100% coverage
@dilipkrish I cleaned up the obvious codacy-bot notes, but what shall we do with "Avoid unused private fields..." regarding the test helper classes? Can you please assist here to get the PR merged eventually...? |
Sure I'll take a look at it. Sorry I din't realize adding codacy support will retroactively reviews PRs. Also do you mind squashing the merge commits and rebasing against master plus there are merge conflicts that are probably better handled by you. |
(ApiModel/ApiModelProperty/...) springfox#1232
Conflicts: springfox-bean-validators/src/main/java/springfox/bean/apidescriptionreaders/plugins/ApiDescriptionPropertiesReader.java springfox-bean-validators/src/main/java/springfox/bean/apidescriptionreaders/plugins/ExpandedParameterDescriptionKeysAnnotationPlugin.java springfox-bean-validators/src/main/java/springfox/bean/apidescriptionreaders/plugins/ModelPropertyDescriptionKeysAnnotationPlugin.java springfox-bean-validators/src/main/java/springfox/bean/apidescriptionreaders/plugins/ParameterDescriptionKeysAnnotationPlugin.java springfox-bean-validators/src/main/java/springfox/bean/validators/configuration/BeanValidatorPluginsConfiguration.java springfox-bean-validators/src/main/java/springfox/bean/validators/plugins/ExpandedParameterMinMaxAnnotationPlugin.java springfox-bean-validators/src/main/java/springfox/bean/validators/plugins/ExpandedParameterNotNullAnnotationPlugin.java springfox-bean-validators/src/main/java/springfox/bean/validators/plugins/ExpandedParameterSizeAnnotationPlugin.java springfox-bean-validators/src/main/java/springfox/bean/validators/plugins/MinMaxAnnotationPlugin.java springfox-bean-validators/src/main/java/springfox/bean/validators/plugins/ModelPropertyNotNullAnnotationPlugin.java springfox-bean-validators/src/main/java/springfox/bean/validators/plugins/ParameterMinMaxAnnotationPlugin.java springfox-bean-validators/src/main/java/springfox/bean/validators/plugins/ParameterNotNullAnnotationPlugin.java springfox-bean-validators/src/main/java/springfox/bean/validators/plugins/ParameterSizeAnnotationPlugin.java springfox-bean-validators/src/main/java/springfox/bean/validators/util/MinMaxUtil.java springfox-bean-validators/src/main/java/springfox/bean/validators/util/SizeUtil.java springfox-swagger2/src/main/java/springfox/documentation/swagger2/mappers/EnumMapper.java
@dilipkrish I rebased and now I get this (both at my forked repo and in the main repo):
|
Looks like its a bad rebase 😖 ... After the rebase you should only be seeing your commits in your pull request. How did you rebase? Assuming remote origin => springfox/springfox and remote jfiala => jfiala springfox. Is this what you did git fetch origin master # gets springfox updates
git rebase origin/master #applies your changes on top of springfox HEAD
git push jfiala master -f #force push to your master so that your pr is updated. |
The PR is in order (after some local cleanups...), I get the error above when doing clean checkout of https://github.com/springfox/springfox/ as well, so it doesn't seem to have to do with my commits... (and I only changed the springfox-bean-validators + 1 class of springfox-swagger2 - EnumMapper) |
If I view the differences now with jfiala:master, my branch is only 29 commits ahead of the master / 39 files changed? However, I'd like to do a clean build before I create the new PR.... |
What do you see when you do a |
Now it looks good, after I've done gradle eclipse, the subproject springfox-spring-web lost its reference to springfox-schema and also added useless classpathentries "test", e.g. for springfox-schema:
After cleaning up those I can build again from springfox-master & my master as well. |
created a new PR which shows the current state (only my / carlosjgp commits...). |
Bean Validations API (JSR-303) support for Request Parameters #1227