Sha256: f04eb30f11b911dd28da7e2b035d65e8f72644cc8078ce5342c00b08f9da568a
Contents?: true
Size: 855 Bytes
Versions: 4
Compression:
Stored size: 855 Bytes
Contents
syntax = "proto3"; package testdata; import "google/api/annotations.proto"; message TestRequest { string test_id = 1; string foobar = 2; repeated string repeated_string = 3; SubRecord sub_record = 4; SubRecord second_record = 5; } 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/{blah=foobar/*}/{repeated_string}" body: "*" }; } 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}" }; } }
Version data entries
4 entries across 4 versions & 1 rubygems