diff --git a/buf.yaml b/buf.yaml new file mode 100644 index 0000000..5fc4486 --- /dev/null +++ b/buf.yaml @@ -0,0 +1,7 @@ +version: v1 +lint: + use: + - DEFAULT +breaking: + use: + - FILE diff --git a/licensing/users/v1/service.proto b/licensing/users/v1/service.proto index b870638..90401fa 100644 --- a/licensing/users/v1/service.proto +++ b/licensing/users/v1/service.proto @@ -10,15 +10,13 @@ package licensing.users.v1; option go_package = "code.pitz.tech/licensing/api-go/users/v1;usersv1"; -import "google/protobuf/empty.proto"; - message SignupRequest {} message SignupResponse {} +message CurrentRequest {} message CurrentResponse {} service UserService { rpc Signup(SignupRequest) returns (SignupResponse); - - rpc Current(google.protobuf.Empty) returns (CurrentResponse); + rpc Current(CurrentRequest) returns (CurrentResponse); }