Skip to content

Conversation

@andyRokit
Copy link

What's this PR do/fix?
This PR attempts to resolve #2376 by using the media type to determine the parameter type when expanding.

Are there unit tests? If not how should this be manually tested?
The intentional change was made to OperationParameterReaderSpec.groovy. I split the "Should expand ModelAttribute request params" test into two. One for multipart, one for non-multipart. I aimed to keep any other test changes to a minimum.

Any background context you want to provide?
N/a

What are the relevant issues?
#2376

@codecov
Copy link

codecov bot commented May 8, 2018

Codecov Report

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

@@ Coverage Diff @@ ## master #2404 +/- ## ============================================ + Coverage 95.41% 95.42% +<.01%  - Complexity 2956 2960 +4  ============================================ Files 336 336 Lines 7856 7863 +7 Branches 620 621 +1 ============================================ + Hits 7496 7503 +7  Misses 227 227 Partials 133 133
@dilipkrish dilipkrish merged commit 7e7b71a into springfox:master Jun 3, 2018
@dilipkrish dilipkrish added the PR label Jun 3, 2018
@dilipkrish
Copy link
Member

Thanks @andyRokit for the PR! 🤘

@dilipkrish dilipkrish added this to the 2.9.1 milestone Jun 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2 participants