chore: fix update resource api

This commit is contained in:
Steven
2023-10-21 12:41:55 +08:00
parent c42af95dd3
commit bfd2dbfee2
13 changed files with 375 additions and 281 deletions

View File

@@ -25,7 +25,7 @@ service UserService {
}
rpc UpdateUser(UpdateUserRequest) returns (UpdateUserResponse) {
option (google.api.http) = {
post: "/api/v2/users/{user.username=*}"
patch: "/api/v2/users/{user.username}"
body: "user"
};
option (google.api.method_signature) = "user,update_mask";