fix(schema): 添加 data 字段描述到 BaseResponseSchema
This commit is contained in:
1 parent
75d2611eda
commit
2c166299a3
1 file changed
+1
@@ -69,6 +69,7 @@ const BaseResponseSchema: JsonObject = {
|
|||||||
properties: {
|
properties: {
|
||||||
status: { type: 'string', description: '状态 (ok/failed)' },
|
status: { type: 'string', description: '状态 (ok/failed)' },
|
||||||
retcode: { type: 'number', description: '返回码' },
|
retcode: { type: 'number', description: '返回码' },
|
||||||
|
data: { description: '业务数据(具体结构由各接口定义)' },
|
||||||
message: { type: 'string', description: '消息' },
|
message: { type: 'string', description: '消息' },
|
||||||
wording: { type: 'string', description: '提示' },
|
wording: { type: 'string', description: '提示' },
|
||||||
stream: {
|
stream: {
|
||||||
|
|||||||
Reference in new issue
Block a user