Skip to content

Commit

Permalink
docs: update swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
winfredLIN committed Nov 14, 2024
1 parent 46acd3e commit 798a038
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 11 deletions.
15 changes: 10 additions & 5 deletions sqle/docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -7144,7 +7144,8 @@ var doc = `{
"manually_executed",
"terminating",
"terminate_succeeded",
"terminate_failed"
"terminate_failed",
"execute_rollback"
],
"type": "string",
"description": "filter: exec status of task sql",
Expand Down Expand Up @@ -9123,7 +9124,9 @@ var doc = `{
}
}
}
},
}
},
"/v1/tasks/audits/{task_id}/backup_strategy": {
"patch": {
"security": [
{
Expand Down Expand Up @@ -9331,7 +9334,8 @@ var doc = `{
"doing",
"succeeded",
"failed",
"manually_executed"
"manually_executed",
"execute_rollback"
],
"type": "string",
"description": "filter: exec status of task sql",
Expand Down Expand Up @@ -9482,7 +9486,7 @@ var doc = `{
}
}
},
"/v1/tasks/audits/{task_id}/sqls/{sql_id}/": {
"/v1/tasks/audits/{task_id}/sqls/{sql_id}/backup_strategy": {
"patch": {
"security": [
{
Expand Down Expand Up @@ -10918,7 +10922,8 @@ var doc = `{
"manually_executed",
"terminating",
"terminate_succeeded",
"terminate_failed"
"terminate_failed",
"execute_rollback"
],
"type": "string",
"description": "filter: exec status of task sql",
Expand Down
15 changes: 10 additions & 5 deletions sqle/docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -7128,7 +7128,8 @@
"manually_executed",
"terminating",
"terminate_succeeded",
"terminate_failed"
"terminate_failed",
"execute_rollback"
],
"type": "string",
"description": "filter: exec status of task sql",
Expand Down Expand Up @@ -9107,7 +9108,9 @@
}
}
}
},
}
},
"/v1/tasks/audits/{task_id}/backup_strategy": {
"patch": {
"security": [
{
Expand Down Expand Up @@ -9315,7 +9318,8 @@
"doing",
"succeeded",
"failed",
"manually_executed"
"manually_executed",
"execute_rollback"
],
"type": "string",
"description": "filter: exec status of task sql",
Expand Down Expand Up @@ -9466,7 +9470,7 @@
}
}
},
"/v1/tasks/audits/{task_id}/sqls/{sql_id}/": {
"/v1/tasks/audits/{task_id}/sqls/{sql_id}/backup_strategy": {
"patch": {
"security": [
{
Expand Down Expand Up @@ -10902,7 +10906,8 @@
"manually_executed",
"terminating",
"terminate_succeeded",
"terminate_failed"
"terminate_failed",
"execute_rollback"
],
"type": "string",
"description": "filter: exec status of task sql",
Expand Down
6 changes: 5 additions & 1 deletion sqle/docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10459,6 +10459,7 @@ paths:
- terminating
- terminate_succeeded
- terminate_failed
- execute_rollback
in: query
name: filter_exec_status
type: string
Expand Down Expand Up @@ -11869,6 +11870,7 @@ paths:
summary: 获取Sql扫描任务信息
tags:
- task
/v1/tasks/audits/{task_id}/backup_strategy:
patch:
consumes:
- application/json
Expand Down Expand Up @@ -12000,6 +12002,7 @@ paths:
- succeeded
- failed
- manually_executed
- execute_rollback
in: query
name: filter_exec_status
type: string
Expand Down Expand Up @@ -12103,7 +12106,7 @@ paths:
summary: 获取task相关的SQL执行计划和表元数据
tags:
- task
/v1/tasks/audits/{task_id}/sqls/{sql_id}/:
/v1/tasks/audits/{task_id}/sqls/{sql_id}/backup_strategy:
patch:
consumes:
- application/json
Expand Down Expand Up @@ -13037,6 +13040,7 @@ paths:
- terminating
- terminate_succeeded
- terminate_failed
- execute_rollback
in: query
name: filter_exec_status
type: string
Expand Down

0 comments on commit 798a038

Please sign in to comment.