feat(openapi): 引入双层 OpenAPI 规范管理 (原始下游 & 包装层工具) 并升级版本至 v0.2.2
🚀 Release / 🚀 Build & Publish Multi-Platform Binaries (push) Has been cancelled
🚀 Release / 🚀 Build & Publish Multi-Platform Binaries (push) Has been cancelled
This commit is contained in:
1 parent
2dfcf67b00
commit
b13959451a
21 files changed
+1435
-12
No files matched your search
@@ -0,0 +1,130 @@
|
||||
ErrorResponse:
|
||||
type: object
|
||||
properties:
|
||||
error:
|
||||
type: boolean
|
||||
example: true
|
||||
message:
|
||||
type: string
|
||||
example: 操作失败原因
|
||||
|
||||
AuthLoginRequest:
|
||||
type: object
|
||||
required:
|
||||
- phone
|
||||
- password
|
||||
properties:
|
||||
phone:
|
||||
type: string
|
||||
description: 登录手机号
|
||||
example: "17718556446"
|
||||
password:
|
||||
type: string
|
||||
description: 登录明文密码 (由客户端自动完成 RSA 加密)
|
||||
autoSwitch:
|
||||
type: boolean
|
||||
description: 是否自动切换到首个企业
|
||||
default: true
|
||||
|
||||
AuthStatusResponse:
|
||||
type: object
|
||||
properties:
|
||||
loggedIn:
|
||||
type: boolean
|
||||
activeCorpId:
|
||||
type: string
|
||||
activeCorpName:
|
||||
type: string
|
||||
totalAccounts:
|
||||
type: integer
|
||||
totalCorps:
|
||||
type: integer
|
||||
|
||||
CorpConfig:
|
||||
type: object
|
||||
properties:
|
||||
corpId:
|
||||
type: string
|
||||
description: 企业唯一标识
|
||||
corpName:
|
||||
type: string
|
||||
description: 企业名称
|
||||
staffId:
|
||||
type: string
|
||||
description: 员工身份 ID
|
||||
accountId:
|
||||
type: string
|
||||
description: 归属账号手机号
|
||||
|
||||
PlatformItem:
|
||||
type: object
|
||||
properties:
|
||||
id:
|
||||
type: string
|
||||
description: 自建应用 ID
|
||||
name:
|
||||
type: string
|
||||
description: 自建应用名称
|
||||
code:
|
||||
type: string
|
||||
description: 应用编码
|
||||
status:
|
||||
type: string
|
||||
description: 应用状态
|
||||
|
||||
WorkflowSummary:
|
||||
type: object
|
||||
properties:
|
||||
id:
|
||||
type: string
|
||||
description: 工作流 ID
|
||||
name:
|
||||
type: string
|
||||
description: 工作流名称
|
||||
platformId:
|
||||
type: string
|
||||
description: 归属自建应用 ID
|
||||
platformName:
|
||||
type: string
|
||||
description: 归属自建应用名称
|
||||
state:
|
||||
type: integer
|
||||
description: "1: 启用, 0: 停用"
|
||||
updatedAt:
|
||||
type: string
|
||||
|
||||
WorkflowDetail:
|
||||
type: object
|
||||
properties:
|
||||
id:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
state:
|
||||
type: integer
|
||||
nodes:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
description: 工作流节点列表 (code-js2, loop, sql 等)
|
||||
links:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
|
||||
ProbeResult:
|
||||
type: object
|
||||
properties:
|
||||
corpId:
|
||||
type: string
|
||||
corpName:
|
||||
type: string
|
||||
mainSession:
|
||||
type: boolean
|
||||
description: 主站会话是否有效
|
||||
easoToken:
|
||||
type: boolean
|
||||
description: EASO 平台 Token 是否有效
|
||||
platformsReachable:
|
||||
type: boolean
|
||||
description: 自建应用接口是否可访问
|
||||
Reference in new issue
Block a user