Moved to google.golang.org/genproto/googleapis/api/annotations
Fixes #52
This commit is contained in:
27
vendor/github.com/grpc-ecosystem/grpc-gateway/options/options.proto
generated
vendored
Normal file
27
vendor/github.com/grpc-ecosystem/grpc-gateway/options/options.proto
generated
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
syntax = "proto2";
|
||||
option go_package = "options";
|
||||
|
||||
package gengo.grpc.gateway;
|
||||
import "google/protobuf/descriptor.proto";
|
||||
|
||||
message ApiMethodOptions {
|
||||
// Use HttpRule instead.
|
||||
option deprecated = true;
|
||||
|
||||
extend google.protobuf.MethodOptions {
|
||||
// Describes how the gRPC method should be exported as a RESTful API.
|
||||
//
|
||||
// The id is a globally unique id for this option, assigned by
|
||||
// protobuf-global-extension-registry@google.com.
|
||||
optional ApiMethodOptions api_options = 1022;
|
||||
}
|
||||
|
||||
// Path of the RESTful API method.
|
||||
// Path components which start with colon is mapped to the corresponding fields in the request message.
|
||||
required string path = 1;
|
||||
// HTTP method of the RESTful API method
|
||||
required string method = 2;
|
||||
// Human-readable description of the method.
|
||||
optional string description = 3;
|
||||
}
|
||||
|
Reference in New Issue
Block a user