diff --git a/sqle/api/controller/v1/audit_plan.go b/sqle/api/controller/v1/audit_plan.go index 59bb2c8263..250e8c4375 100644 --- a/sqle/api/controller/v1/audit_plan.go +++ b/sqle/api/controller/v1/audit_plan.go @@ -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到扫描任务 diff --git a/sqle/docs/docs.go b/sqle/docs/docs.go index 232e153140..401eb9398d 100644 --- a/sqle/docs/docs.go +++ b/sqle/docs/docs.go @@ -10309,7 +10309,7 @@ var doc = `{ "type": "string", "example": "database_user001" }, - "end_point": { + "endpoint": { "type": "string", "example": "10.186.1.2" }, diff --git a/sqle/docs/swagger.json b/sqle/docs/swagger.json index f7066f66ed..2e7761ab11 100644 --- a/sqle/docs/swagger.json +++ b/sqle/docs/swagger.json @@ -10293,7 +10293,7 @@ "type": "string", "example": "database_user001" }, - "end_point": { + "endpoint": { "type": "string", "example": "10.186.1.2" }, diff --git a/sqle/docs/swagger.yaml b/sqle/docs/swagger.yaml index 5e2c8388ab..298d7a5277 100644 --- a/sqle/docs/swagger.yaml +++ b/sqle/docs/swagger.yaml @@ -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: