...
1syntax = "proto3";
2option go_package = "examplepb";
3package grpc.gateway.examples.internal.examplepb;
4
5import "google/api/annotations.proto";
6import "google/protobuf/empty.proto";
7import "examples/internal/proto/examplepb/a_bit_of_everything.proto";
8
9// This file is run through a genrule.
10
11// Defines some more operations to be added to ABitOfEverythingService
12service GeneratedService {
13 rpc Create(ABitOfEverything) returns (google.protobuf.Empty) {
14 option (google.api.http) = {
15 post: "/v1/example/a_bit_of_everything/generated_create"
16 body: "*"
17 };
18 }
19
20}
View as plain text