feat: add create shortcut api

This commit is contained in:
Steven
2023-08-09 23:31:52 +08:00
parent e936aaced1
commit 1194099667
19 changed files with 864 additions and 62 deletions

View File

@@ -15,6 +15,7 @@ service UserService {
option (google.api.http) = {get: "/api/v2/users/{id}"};
option (google.api.method_signature) = "id";
}
// CreateUser creates a new user.
rpc CreateUser(CreateUserRequest) returns (CreateUserResponse) {
option (google.api.http) = {
post: "/api/v2/users"