Skip to content

Commit

Permalink
feat: add invite process
Browse files Browse the repository at this point in the history
  • Loading branch information
asjdf committed Nov 22, 2023
1 parent 355bd3f commit 857accf
Show file tree
Hide file tree
Showing 6 changed files with 377 additions and 62 deletions.
44 changes: 44 additions & 0 deletions gen/openapi/team/v1/team_service.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,39 @@
]
}
},
"/gapi/team/v1/team/member/accept": {
"post": {
"summary": "接受邀请加入团队",
"operationId": "TeamService_AcceptInvite",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/v1AcceptInviteResponse"
}
},
"default": {
"description": "An unexpected error response.",
"schema": {
"$ref": "#/definitions/rpcStatus"
}
}
},
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/v1AcceptInviteRequest"
}
}
],
"tags": [
"TeamService"
]
}
},
"/gapi/team/v1/team/member/invite": {
"post": {
"summary": "邀请成员加入团队",
Expand Down Expand Up @@ -238,6 +271,17 @@
}
}
},
"v1AcceptInviteRequest": {
"type": "object",
"properties": {
"inviteId": {
"type": "string"
}
}
},
"v1AcceptInviteResponse": {
"type": "object"
},
"v1CreateTeamRequest": {
"type": "object",
"properties": {
Expand Down
249 changes: 187 additions & 62 deletions gen/proto/team/v1/team_service.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 857accf

Please sign in to comment.