Skip to content

Commit

Permalink
Allow a user choose a path when a Thrift/gRPC service has more than t…
Browse files Browse the repository at this point in the history
…wo paths
  • Loading branch information
kojilin committed Aug 25, 2020
1 parent 31c4879 commit c27abd2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -84,8 +84,8 @@ public MethodInfo(String name,
HttpMethod httpMethod,
@Nullable String docString) {
this(name, returnTypeSignature, parameters, exceptionTypeSignatures, endpoints,
/* exampleHeaders */ ImmutableList.of(), /* exampleRequests */ ImmutableList.of(),
/* examplePaths */ ImmutableList.of(), /* exampleQueries */ ImmutableList.of(),
/* exampleHeaders */ ImmutableList.of(), /* exampleRequests */ ImmutableList.of(),
/* examplePaths */ ImmutableList.of(), /* exampleQueries */ ImmutableList.of(),
httpMethod, docString);
}

Expand Down
Expand Up @@ -24,7 +24,7 @@ public final class TestUtil {
* Indicates doc service tests should be run on fixed ports to be able to demo or develop DocService.
*/
public static boolean isDocServiceDemoMode() {
return isDocServiceDemoMode;
return true;
}

private TestUtil() {}
Expand Down

0 comments on commit c27abd2

Please sign in to comment.