From a73ddbc7c4338815aa8e0b28f65021cec4fe31a7 Mon Sep 17 00:00:00 2001 From: mya Date: Thu, 28 Dec 2023 16:55:41 -0600 Subject: [PATCH] fix: use buf --- buf.yaml | 7 +++++++ licensing/users/v1/service.proto | 6 ++---- 2 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 buf.yaml 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); }