Skip to content

Commit

Permalink
chore: push gen file(workflow fail)
Browse files Browse the repository at this point in the history
  • Loading branch information
GoldenSheep402 committed Nov 14, 2023
1 parent 149bd95 commit 13c1708
Show file tree
Hide file tree
Showing 5 changed files with 602 additions and 263 deletions.
69 changes: 62 additions & 7 deletions gen/openapi/sync/v1/sync_service.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
},
"/gapi/sync/v1/update_config": {
"post": {
"summary": "提交最新配置 若配置的ID为空,则创建新配置。若配置的删除时间不为空,则代表该配置已被删除。",
"summary": "提交最新配置 若配置的ID为空,则创建新配置。若配置的删除时间不为空,则代表该配置已被删除。这里只负责配置内容修改。",
"operationId": "SyncService_UpdateConfig",
"responses": {
"200": {
Expand Down Expand Up @@ -155,7 +155,7 @@
},
"/gapi/sync/v1/update_group": {
"post": {
"summary": "更新组信息,如果是创建组的请求则同时处理密钥",
"summary": "更新组信息,如果服务端密钥为空不允许修改,请先去创建密钥链。",
"operationId": "SyncService_UpdateGroup",
"responses": {
"200": {
Expand Down Expand Up @@ -186,6 +186,39 @@
]
}
},
"/gapi/sync/v1/update_group_key_chain": {
"post": {
"summary": "组的所有者修改组的密钥链",
"operationId": "SyncService_UpdateGroupKeyChain",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/v1UpdateGroupKeyChainResponse"
}
},
"default": {
"description": "An unexpected error response.",
"schema": {
"$ref": "#/definitions/rpcStatus"
}
}
},
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/v1UpdateGroupKeyChainRequest"
}
}
],
"tags": [
"SyncService"
]
}
},
"/gapi/sync/v1/update_user_key_wallet": {
"post": {
"summary": "修改用户密钥对,修改的时候所有相关组的加密密钥均要替换",
Expand Down Expand Up @@ -601,20 +634,39 @@
}
}
},
"v1UpdateGroupRequest": {
"v1UpdateGroupKeyChainRequest": {
"type": "object",
"properties": {
"group": {
"$ref": "#/definitions/v1Group"
"groupId": {
"type": "string"
},
"publicKey": {
"type": "string"
},
"encryptedCreatorPrivateKey": {
"encryptedGroupPrivateKey": {
"type": "string"
},
"userKeyWallet": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/definitions/v1UserKeyWallet"
}
}
},
"title": "UpdateGroup\n更新组信息,如果是创建组的请求则需要带上创建者的密钥\n密钥以1 2 字段为准,内部的密钥是为了在返回请求中展示"
"title": "UpdateGroupKeyChain"
},
"v1UpdateGroupKeyChainResponse": {
"type": "object"
},
"v1UpdateGroupRequest": {
"type": "object",
"properties": {
"group": {
"$ref": "#/definitions/v1Group"
}
},
"title": "UpdateGroup"
},
"v1UpdateGroupResponse": {
"type": "object"
Expand Down Expand Up @@ -659,6 +711,9 @@
"v1UserKeyWallet": {
"type": "object",
"properties": {
"uid": {
"type": "string"
},
"gid": {
"type": "string"
},
Expand Down
Loading

0 comments on commit 13c1708

Please sign in to comment.