Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add get mapper
  • Loading branch information
wing328 committed Apr 27, 2020
commit 8f33b1ddef1bbe31d138e2f2a640a3a070041fae
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,6 @@ public class JSON implements ContextResolver<ObjectMapper> {
public ObjectMapper getContext(Class<?> type) {
return mapper;
}

public ObjectMapper getMapper() { return mapper; }
}
1 change: 0 additions & 1 deletion samples/client/petstore/java/jersey2-experimental/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@
<parallel>methods</parallel>
<useUnlimitedThreads>true</useUnlimitedThreads>
<forkMode>pertest</forkMode>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
</configuration>
</plugin>
<plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ public void setup(Key key) throws ApiException {
@Override
public void applyToParams(List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams,
String payload, String method, URI uri) throws ApiException {

try {
if (headers.contains("host")) {
headerParams.put("host", uri.getHost());
Expand Down