Skip to content

Commit

Permalink
api/v3: remove dependency on google empty message
Browse files Browse the repository at this point in the history
  • Loading branch information
jzelinskie committed Apr 23, 2018
1 parent d7a751e commit f550dd1
Show file tree
Hide file tree
Showing 4 changed files with 101 additions and 94 deletions.
175 changes: 92 additions & 83 deletions api/v3/clairpb/clair.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions api/v3/clairpb/clair.proto
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

syntax = "proto3";

import "google/protobuf/empty.proto";
import "google/protobuf/timestamp.proto";

import "google/api/annotations.proto";
Expand Down Expand Up @@ -144,7 +143,7 @@ service NotificationService {
option (google.api.http) = { get: "/notifications/{name}" };
}
// The RPC used to mark a Notification as read after it has been processed.
rpc MarkNotificationAsRead(MarkNotificationAsReadRequest) returns (google.protobuf.Empty) {
rpc MarkNotificationAsRead(MarkNotificationAsReadRequest) returns (MarkNotificationAsReadResponse) {
option (google.api.http) = { delete: "/notifications/{name}" };
}
}
Expand Down Expand Up @@ -206,3 +205,5 @@ message MarkNotificationAsReadRequest {
// The name of the Notification that has been processed.
string name = 1;
}

message MarkNotificationAsReadResponse {}
Loading

0 comments on commit f550dd1

Please sign in to comment.