github.com/grpc-ecosystem/grpc-gateway/v2@v2.19.1/internal/descriptor/apiconfig/apiconfig.proto (about)

     1  syntax = "proto3";
     2  
     3  package grpc.gateway.internal.descriptor.apiconfig;
     4  
     5  import "google/api/http.proto";
     6  
     7  option go_package = "github.com/grpc-ecosystem/grpc-gateway/v2/internal/descriptor/apiconfig";
     8  
     9  // GrpcAPIService represents a stripped down version of google.api.Service .
    10  // Compare to https://github.com/googleapis/googleapis/blob/master/google/api/service.proto
    11  // The original imports 23 other protobuf files we are not interested in. If a significant
    12  // subset (>50%) of these start being reproduced in this file we should swap to using the
    13  // full generated version instead.
    14  //
    15  // For the purposes of the gateway generator we only consider a small subset of all
    16  // available features google supports in their service descriptions. Thanks to backwards
    17  // compatibility guarantees by protobuf it is safe for us to remove the other fields.
    18  message GrpcAPIService {
    19    // Http Rule.
    20    google.api.Http http = 1;
    21  }