Open mbarrien opened 2 years ago
Closes #28
Adds support for 2 related cases in URLs:
post: "/v1/{parent=publishers/*}/books"
option (google.api.http) = { patch: "/v3/{intent.name=projects/*/locations/*/agents/*/intents/*}" body: "intent" };
This gets translated to /v3/${req["intent"]["name"]}
/v3/${req["intent"]["name"]}
While here, use the newer protoc-gen-go-grpc plugin for generating server test code, due to deprecated usage of plugin=grpc (see https://github.com/protocolbuffers/protobuf-go/releases/tag/v1.20.0#v1.20-grpc-support)
This fix works perfect for our use case, please merge it. @mbarrien
we really need this patch, can someone do some magic and make ci happy ? ðŸ˜
Closes #28
Adds support for 2 related cases in URLs:
post: "/v1/{parent=publishers/*}/books"
This gets translated to
/v3/${req["intent"]["name"]}
While here, use the newer protoc-gen-go-grpc plugin for generating server test code, due to deprecated usage of plugin=grpc (see https://github.com/protocolbuffers/protobuf-go/releases/tag/v1.20.0#v1.20-grpc-support)