Skip to content
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

Bug/2511 #2513

Merged
merged 7 commits into from
Jul 13, 2018
Merged

Bug/2511 #2513

merged 7 commits into from
Jul 13, 2018

Conversation

dbaje
Copy link
Contributor

@dbaje dbaje commented Jun 25, 2018

What's this PR do/fix?

Bug #2511

Are there unit tests? If not how should this be manually tested?

No tests as this is to slove backwards compatibility

Any background context you want to provide?

Attribute "name" and "required" in PathVariable annotation were added in Spring 4.3.3. Using the version of the code causes an exception.

What are the relevant issues?

#2511

@codecov
Copy link

codecov bot commented Jun 25, 2018

Codecov Report

Merging #2513 into master will increase coverage by 0.03%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #2513      +/-   ##
============================================
+ Coverage     95.08%   95.11%   +0.03%     
- Complexity     2989     2997       +8     
============================================
  Files           339      340       +1     
  Lines          7949     7962      +13     
  Branches        643      643              
============================================
+ Hits           7558     7573      +15     
+ Misses          251      250       -1     
+ Partials        140      139       -1

@dilipkrish
Copy link
Member

@dbaje thanks for the pr!!

@dilipkrish dilipkrish added the PR label Jun 26, 2018
…ved it to the core so it could be available in other parts of the code. Also introduced a customer SpringVersion class return our own, made it a normal class so we can mock it for our tests. This should increase test coverage.
@dbaje
Copy link
Contributor Author

dbaje commented Jun 27, 2018

Made some changes and used the spring capabilities utility. I needed to move it so it would be available for the rest of the code. Also made some changes to be compatible with mocking and version checking in tests.

@dilipkrish dilipkrish merged commit 9a0b687 into springfox:master Jul 13, 2018
@dilipkrish dilipkrish added this to the 3.0 milestone Jul 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants