diff --git a/tests/fragments/test_rest_streaming.proto b/tests/fragments/test_rest_streaming.proto index b47d2030b9..f7a4937e2a 100644 --- a/tests/fragments/test_rest_streaming.proto +++ b/tests/fragments/test_rest_streaming.proto @@ -17,11 +17,16 @@ syntax = "proto3"; package google.fragment; import "google/api/client.proto"; +import "google/api/annotations.proto"; service MyService { option (google.api.default_host) = "my.example.com"; rpc MyMethod(MethodRequest) returns (stream MethodResponse) { + option (google.api.http) = { + post: "/v2/some/path/{import}/mymethod" + body: "license" + }; option (google.api.method_signature) = "from,class,import,any,license,type"; } }