chore: update ts definition generator

This commit is contained in:
steven
2023-09-03 14:35:50 +08:00
parent 7cde25bdb5
commit 2fcd496fd2
29 changed files with 12178 additions and 55 deletions

View File

@ -11,13 +11,13 @@ option go_package = "gen/api/v2";
service UserSettingService {
// GetUserSetting returns the user setting.
rpc GetUserSetting(GetUserSettingRequest) returns (GetUserSettingResponse) {
option (google.api.http) = {get: "/api/v2/user/{id}/setting"};
option (google.api.http) = {get: "/api/v2/users/{id}/settings"};
option (google.api.method_signature) = "id";
}
// UpdateUserSetting updates the user setting.
rpc UpdateUserSetting(UpdateUserSettingRequest) returns (UpdateUserSettingResponse) {
option (google.api.http) = {
put: "/api/v2/user/{id}/settins"
put: "/api/v2/users/{id}/settings"
body: "*"
};
option (google.api.method_signature) = "id";