Skip to content

Commit

Permalink
Merge pull request #2411 from actiontech/issue1468-7
Browse files Browse the repository at this point in the history
docs: update swagger add filter_file_id
  • Loading branch information
ColdWaterLW authored May 7, 2024
2 parents b5bab37 + 9d92aa0 commit c5f63b9
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions sqle/api/controller/v2/workflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -1304,6 +1304,7 @@ type ExecResultCount struct {
// @Param task_id path string true "task id"
// @Param page_index query string true "page index"
// @Param page_size query string true "page size"
// @Param filter_file_id query string true "filter file id"
// @Success 200 {object} GetAuditTaskFileOverviewRes
// @router /v2/tasks/audits/{task_id}/files [get]
func GetAuditTaskFileOverview(c echo.Context) error {
Expand Down
7 changes: 7 additions & 0 deletions sqle/docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -8075,6 +8075,13 @@ var doc = `{
"name": "page_size",
"in": "query",
"required": true
},
{
"type": "string",
"description": "filter file id",
"name": "filter_file_id",
"in": "query",
"required": true
}
],
"responses": {
Expand Down
7 changes: 7 additions & 0 deletions sqle/docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -8059,6 +8059,13 @@
"name": "page_size",
"in": "query",
"required": true
},
{
"type": "string",
"description": "filter file id",
"name": "filter_file_id",
"in": "query",
"required": true
}
],
"responses": {
Expand Down
5 changes: 5 additions & 0 deletions sqle/docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9466,6 +9466,11 @@ paths:
name: page_size
required: true
type: string
- description: filter file id
in: query
name: filter_file_id
required: true
type: string
responses:
"200":
description: OK
Expand Down

0 comments on commit c5f63b9

Please sign in to comment.