...
1syntax = "proto3";
2
3package grpc.gateway.internal.descriptor.apiconfig;
4
5import "google/api/http.proto";
6
7option 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.
18message GrpcAPIService {
19 // Http Rule.
20 google.api.Http http = 1;
21}
View as plain text