Skip to content

Commit

Permalink
Merge pull request #2040 from actiontech/issue-ee-1191
Browse files Browse the repository at this point in the history
change api define
  • Loading branch information
taolx0 authored Nov 16, 2023
2 parents 2486fe0 + 371f324 commit 7d34ac2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion sqle/api/controller/v1/audit_plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,7 @@ type AuditPlanSQLReqV1 struct {
QueryTimeMax *float64 `json:"query_time_max" from:"query_time_max" example:"5.22"`
FirstQueryAt time.Time `json:"first_query_at" from:"first_query_at" example:"2023-09-12T02:48:01.317880Z"`
DBUser string `json:"db_user" from:"db_user" example:"database_user001"`
EndPoint string `json:"end_point" from:"end_point" example:"10.186.1.2"`
Endpoint string `json:"endpoint" from:"endpoint" example:"10.186.1.2"`
}

// @Summary 全量同步SQL到扫描任务
Expand Down
2 changes: 1 addition & 1 deletion sqle/docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -10309,7 +10309,7 @@ var doc = `{
"type": "string",
"example": "database_user001"
},
"end_point": {
"endpoint": {
"type": "string",
"example": "10.186.1.2"
},
Expand Down
2 changes: 1 addition & 1 deletion sqle/docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -10293,7 +10293,7 @@
"type": "string",
"example": "database_user001"
},
"end_point": {
"endpoint": {
"type": "string",
"example": "10.186.1.2"
},
Expand Down
2 changes: 1 addition & 1 deletion sqle/docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ definitions:
db_user:
example: database_user001
type: string
end_point:
endpoint:
example: 10.186.1.2
type: string
first_query_at:
Expand Down

0 comments on commit 7d34ac2

Please sign in to comment.