github.com/grpc-ecosystem/grpc-gateway/v2@v2.19.1/examples/internal/proto/examplepb/generated_input.proto (about)

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