Skip to content

Commit

Permalink
Merge pull request #537 from sonOfRa/spring-resource
Browse files Browse the repository at this point in the history
[Spring] Map the binary format to Resource
  • Loading branch information
frantuma authored Dec 12, 2019
2 parents b5ef367 + 1b0ca7d commit f3b0477
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ public void processOpts() {
}

typeMapping.put("file", "Resource");
typeMapping.put("binary", "Resource");
importMapping.put("Resource", "org.springframework.core.io.Resource");

if (useOptional) {
Expand Down

0 comments on commit f3b0477

Please # to comment.