Sha256: 0012c15db393214b376a9d9e3df1e6659a9dafea1104c1d09fd402be55e9efa4
Contents?: true
Size: 1.24 KB
Versions: 5
Compression:
Stored size: 1.24 KB
Contents
syntax = "proto3"; package testdata; import "google/api/annotations.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; message TestRequest { string test_id = 1; string foobar = 2; repeated string repeated_string = 3; SubRecord sub_record = 4; SubRecord second_record = 5; google.protobuf.Struct struct_field = 6; google.protobuf.Timestamp timestamp_field = 7; google.protobuf.ListValue list_value = 8; google.protobuf.Value bare_value = 9; repeated SubRecord sub_records = 10; int32 some_int = 11; } message SubRecord { string sub_id = 1; string another_id = 2; } message TestResponse { int32 some_int = 1; string full_response = 2; } service MyService { rpc Test(TestRequest) returns (TestResponse) { option (google.api.http) = { get: "/test/{foobar=blah/*}" }; } rpc Test2(TestRequest) returns (TestResponse) { option (google.api.http) = { post: "/test2" body: "second_record" }; } rpc Test3(TestRequest) returns (TestResponse) { option (google.api.http) = { post: "/test3/{sub_record.sub_id}" }; } rpc Test4(TestRequest) returns (TestResponse) { option (google.api.http) = { post: "/test4", body: '*' }; } }
Version data entries
5 entries across 5 versions & 1 rubygems