Add vendor folder to git

This commit is contained in:
Lucas Käldström 2017-06-26 19:23:05 +03:00
parent 66cf5eaafb
commit 183585f56f
No known key found for this signature in database
GPG key ID: 600FEFBBD0D40D21
6916 changed files with 2629581 additions and 1 deletions

View 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;
}