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

#3189 - handle defaults in Spring placeholders #3190

Merged
merged 2 commits into from Jan 6, 2020
Merged

#3189 - handle defaults in Spring placeholders #3190

merged 2 commits into from Jan 6, 2020

Conversation

beliakou
Copy link

What's this PR do/fix?

Issue #3189

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

Few test cases added

Any background context you want to provide?

As per http://springfox.github.io/springfox/docs/snapshot/#property-file-lookup there is support for Spring properties resolution but default values like ${propertyName:defualt} are not handled. I'm wondering if there are other places I need to update?

What are the relevant issues?

Issue #3189

@codecov
Copy link

codecov bot commented Nov 19, 2019

Codecov Report

Merging #3190 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #3190      +/-   ##
============================================
+ Coverage     92.91%   92.91%   +<.01%     
- Complexity     3512     3513       +1     
============================================
  Files           382      382              
  Lines          9330     9334       +4     
  Branches        768      769       +1     
============================================
+ Hits           8669     8673       +4     
  Misses          472      472              
  Partials        189      189
Impacted Files Coverage Δ Complexity Δ
.../documentation/spring/web/DescriptionResolver.java 96% <100%> (+0.76%) 8 <1> (+1) ⬆️

@dilipkrish dilipkrish added the PR label Jan 6, 2020
@dilipkrish dilipkrish added this to the 3.0 milestone Jan 6, 2020
@dilipkrish dilipkrish merged commit 1c11ebc into springfox:master Jan 6, 2020
@dilipkrish
Copy link
Member

Thank you @beliakou!

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