add generate

This commit is contained in:
2024-11-09 17:26:59 +07:00
parent c982fe6c76
commit db7957b6ca
8 changed files with 571 additions and 3 deletions
+11 -1
View File
@@ -10,4 +10,14 @@ option go_package = "pkg/proto";
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {};
service SmmCore {}
service SmmCore {
rpc GetCatalog(PingReq) returns (PingRsp) {
option (google.api.http) = {
get: "/ping"
};
}
}
message PingReq {}
message PingRsp {}