运行prototool all
后,注释之间的空格将自动删除。有办法防止这种情况吗?
service UserService {
// Unauthenticated requests
rpc Login(LoginRequest) returns (LoginResponse);
rpc Register(RegisterRequest) returns (RegisterResponse);
rpc ForgotPassword(ForgotPasswordRequest) returns (ForgotPasswordResponse);
rpc ResetPassword(ResetPasswordRequest) returns (ResetPasswordResponse);
rpc ValidateToken(ValidateTokenRequest) returns (ValidateTokenResponse);
// Authenticated write requests
rpc ChangeEmail(ChangeEmailRequest) returns (ChangeEmailResponse);
rpc ChangeUsername(ChangeUsernameRequest) returns (ChangeUsernameResponse);
rpc ChangePassword(ChangePasswordRequest) returns (ChangePasswordResponse);
rpc VerifySecurityQA(VerifySecurityQARequest) returns (VerifySecurityQAResponse);
rpc Update(UpdateRequest) returns (UpdateResponse);
rpc Delete(DeleteRequest) returns (DeleteResponse);
// Authenticated read requests
rpc User(UserRequest) returns (UserResponse);
rpc Users(UsersRequest) returns (stream UserResponse);
}