...

Text file src/github.com/grpc-ecosystem/grpc-gateway/v2/examples/internal/proto/examplepb/generated_input.proto

Documentation: github.com/grpc-ecosystem/grpc-gateway/v2/examples/internal/proto/examplepb

     1syntax = "proto3";
     2
     3package grpc.gateway.examples.internal.proto.examplepb;
     4
     5import "examples/internal/proto/examplepb/a_bit_of_everything.proto";
     6import "google/api/annotations.proto";
     7import "google/protobuf/empty.proto";
     8
     9option 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
    14service 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}

View as plain text