diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2019-07-25 18:11:52 +0300 |
---|---|---|
committer | Paul Okstad <pokstad@gitlab.com> | 2019-07-25 18:11:52 +0300 |
commit | c5829d906a7418bfc4d2736f8ed80911cbe9e5cf (patch) | |
tree | 26678ea5e0c0ae8788d2b5a159b08381eb4ebee9 /proto/smarthttp.proto | |
parent | 1cb2541eecc6d32e4816d0f817db7e42e0c69f50 (diff) |
Generate embedded Go and Ruby proto stubs
Diffstat (limited to 'proto/smarthttp.proto')
-rw-r--r-- | proto/smarthttp.proto | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/proto/smarthttp.proto b/proto/smarthttp.proto index 92311b169..7b1537c97 100644 --- a/proto/smarthttp.proto +++ b/proto/smarthttp.proto @@ -11,7 +11,10 @@ service SmartHTTPService { // Will be invoked when the user executes a `git fetch`, meaning the server // will upload the packs to that user. The user doesn't upload new objects. rpc InfoRefsUploadPack(InfoRefsRequest) returns (stream InfoRefsResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } // The response body for GET /info/refs?service=git-receive-pack @@ -26,7 +29,10 @@ service SmartHTTPService { // Request and response body for POST /upload-pack rpc PostUploadPack(stream PostUploadPackRequest) returns (stream PostUploadPackResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } // Request and response body for POST /receive-pack |