Initial version

This commit is contained in:
2026-06-09 22:27:38 +02:00
parent 5afbf3b01c
commit 5ff2ac8941
57 changed files with 2343 additions and 98 deletions
+10
View File
@@ -0,0 +1,10 @@
syntax = "proto3";
option csharp_namespace = "GRPC.NET7.Api.Protos";
package base;
message BaseResponse {
bool isSuccess = 1;
string message = 2;
string data = 3;
}
+20
View File
@@ -0,0 +1,20 @@
syntax = "proto3";
import "google/protobuf/timestamp.proto";
import "google/protobuf/empty.proto";
import "Protos/base.proto";
option csharp_namespace = "GRPC.NET7.Api.Protos";
package user;
service User {
rpc Create(UserCreateRequest) returns (base.BaseResponse) { }
rpc Get(google.protobuf.Empty) returns (base.BaseResponse) { }
}
message UserCreateRequest {
string firstName = 1;
string lastName = 2;
string email = 3;
//google.protobuf.Timestamp dateOfBirth = 4;
string gender = 5;
}