fix: 修复任务执行记录列表按任务类型和状态过滤失效的 Bug 并更新 Swagger

This commit is contained in:
ryan
2026-06-11 20:14:02 +08:00
parent 46760d4286
commit 7c125ccef2
6 changed files with 48 additions and 42 deletions
+9 -9
View File
@@ -5576,13 +5576,13 @@ const docTemplate = `{
"task.TaskMeta": {
"type": "object",
"properties": {
"asynqTask": {
"asynq_task": {
"type": "string"
},
"description": {
"type": "string"
},
"maxRetry": {
"max_retry": {
"type": "integer"
},
"name": {
@@ -5601,7 +5601,7 @@ const docTemplate = `{
"description": "是否支持手动重试",
"type": "boolean"
},
"supportsTime": {
"supports_time": {
"type": "boolean"
},
"type": {
@@ -5612,27 +5612,27 @@ const docTemplate = `{
"task.TaskParam": {
"type": "object",
"properties": {
"Description": {
"description": {
"description": "描述",
"type": "string"
},
"Label": {
"label": {
"description": "显示名称",
"type": "string"
},
"Name": {
"name": {
"description": "参数键名",
"type": "string"
},
"Placeholder": {
"placeholder": {
"description": "占位符",
"type": "string"
},
"Required": {
"required": {
"description": "是否必填",
"type": "boolean"
},
"Type": {
"type": {
"description": "类型:string, text, number, boolean",
"type": "string"
}
+9 -9
View File
@@ -5569,13 +5569,13 @@
"task.TaskMeta": {
"type": "object",
"properties": {
"asynqTask": {
"asynq_task": {
"type": "string"
},
"description": {
"type": "string"
},
"maxRetry": {
"max_retry": {
"type": "integer"
},
"name": {
@@ -5594,7 +5594,7 @@
"description": "是否支持手动重试",
"type": "boolean"
},
"supportsTime": {
"supports_time": {
"type": "boolean"
},
"type": {
@@ -5605,27 +5605,27 @@
"task.TaskParam": {
"type": "object",
"properties": {
"Description": {
"description": {
"description": "描述",
"type": "string"
},
"Label": {
"label": {
"description": "显示名称",
"type": "string"
},
"Name": {
"name": {
"description": "参数键名",
"type": "string"
},
"Placeholder": {
"placeholder": {
"description": "占位符",
"type": "string"
},
"Required": {
"required": {
"description": "是否必填",
"type": "boolean"
},
"Type": {
"type": {
"description": "类型:string, text, number, boolean",
"type": "string"
}
+9 -9
View File
@@ -751,11 +751,11 @@ definitions:
type: object
task.TaskMeta:
properties:
asynqTask:
asynq_task:
type: string
description:
type: string
maxRetry:
max_retry:
type: integer
name:
type: string
@@ -768,29 +768,29 @@ definitions:
retryable:
description: 是否支持手动重试
type: boolean
supportsTime:
supports_time:
type: boolean
type:
type: string
type: object
task.TaskParam:
properties:
Description:
description:
description: 描述
type: string
Label:
label:
description: 显示名称
type: string
Name:
name:
description: 参数键名
type: string
Placeholder:
placeholder:
description: 占位符
type: string
Required:
required:
description: 是否必填
type: boolean
Type:
type:
description: 类型:string, text, number, boolean
type: string
type: object