feat: support google.api.http in gateway (#2161)

This commit is contained in:
Kevin Wan
2022-07-17 14:57:25 +08:00
committed by GitHub
parent 4324ddc024
commit 0dd2768d09
4 changed files with 94 additions and 10 deletions

View File

@@ -25,5 +25,9 @@ func TestGetMethods(t *testing.T) {
assert.Nil(t, err)
methods, err := GetMethods(source)
assert.Nil(t, err)
assert.EqualValues(t, []string{"hello.Hello/Ping"}, methods)
assert.EqualValues(t, []Method{
{
RpcPath: "hello.Hello/Ping",
},
}, methods)
}