Navigation Menu

Skip to content

Commit

Permalink
MP 1.3 json as default media type
Browse files Browse the repository at this point in the history
  • Loading branch information
patriot1burke committed May 28, 2019
1 parent 5a3debd commit 1e5a7f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Expand Up @@ -236,8 +236,8 @@ public <T> T build(Class<T> aClass) throws IllegalStateException, RestClientDefi
actualClient = client.target(baseURI)
.proxyBuilder(aClass)
.classloader(classLoader)
.defaultConsumes(MediaType.WILDCARD)
.defaultProduces(MediaType.WILDCARD).build();
.defaultConsumes(MediaType.APPLICATION_JSON)
.defaultProduces(MediaType.APPLICATION_JSON).build();

Class<?>[] interfaces = new Class<?>[2];
interfaces[0] = aClass;
Expand Down
1 change: 0 additions & 1 deletion testsuite/microprofile-tck/pom.xml
Expand Up @@ -152,7 +152,6 @@
<excludes>
<!-- TODO: remove exclusions when the required features are implemented -->
<exclude>org.eclipse.microprofile.rest.client.tck.CloseTest</exclude>
<exclude>org.eclipse.microprofile.rest.client.tck.DefaultMIMETypeTest</exclude>
<exclude>org.eclipse.microprofile.rest.client.tck.cditests.CDIInvokeWithRegisteredProvidersTest</exclude>
<exclude>org.eclipse.microprofile.rest.client.tck.cditests.HasAppScopeTest</exclude>
<exclude>org.eclipse.microprofile.rest.client.tck.cditests.HasConversationScopeTest</exclude>
Expand Down

0 comments on commit 1e5a7f4

Please sign in to comment.