Skip to content

Commit

Permalink
delete: empty model
Browse files Browse the repository at this point in the history
  • Loading branch information
winfredLIN committed Jul 19, 2024
1 parent e95f491 commit 6e5ef9a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 26 deletions.
3 changes: 0 additions & 3 deletions api/dms/service/v1/db_service_sync_task.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ type ListDBServiceSyncTask struct {
LastSyncSuccessTime *time.Time `json:"last_sync_success_time"`
}

// swagger:model GetDBServiceSyncTaskReq
type GetDBServiceSyncTaskReq struct {
// swagger:ignore
DBServiceSyncTaskUid string `param:"db_service_sync_task_uid" json:"db_service_sync_task_uid" validate:"required"`
Expand Down Expand Up @@ -98,7 +97,6 @@ type UpdateDBServiceSyncTaskReq struct {
DBServiceSyncTask DBServiceSyncTask `json:"db_service_sync_task" validate:"required"`
}

// swagger:model DeleteDBServiceSyncTaskReq
type DeleteDBServiceSyncTaskReq struct {
// swagger:ignore
DBServiceSyncTaskUid string `param:"db_service_sync_task_uid" json:"db_service_sync_task_uid" validate:"required"`
Expand All @@ -119,7 +117,6 @@ type DBServiceSyncTaskTip struct {
Params pkgParams.Params `json:"params,omitempty"`
}

// swagger:model SyncDBServicesReq
type SyncDBServicesReq struct {
// swagger:ignore
DBServiceSyncTaskUid string `param:"db_service_sync_task_uid" json:"db_service_sync_task_uid" validate:"required"`
Expand Down
14 changes: 1 addition & 13 deletions api/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -6192,10 +6192,6 @@
},
"x-go-package": "github.com/actiontech/dms/pkg/dms-common/api/dms/v1"
},
"DeleteDBServiceSyncTaskReq": {
"type": "object",
"x-go-package": "github.com/actiontech/dms/api/dms/service/v1"
},
"FeishuConfigurationResData": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -6408,10 +6404,6 @@
},
"x-go-package": "github.com/actiontech/dms/api/dms/service/v1"
},
"GetDBServiceSyncTaskReq": {
"type": "object",
"x-go-package": "github.com/actiontech/dms/api/dms/service/v1"
},
"GetDataExportTask": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -9662,10 +9654,6 @@
},
"x-go-package": "github.com/actiontech/dms/pkg/dms-common/api/dms/v1"
},
"SyncDBServicesReq": {
"type": "object",
"x-go-package": "github.com/actiontech/dms/api/dms/service/v1"
},
"SyncDatabaseSourceServiceReq": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -9960,7 +9948,7 @@
"x-go-name": "Uid"
}
},
"x-go-package": "github.com/actiontech/dms/pkg/dms-common/api/dms/v1"
"x-go-package": "github.com/actiontech/dms/api/dms/service/v1"
},
"UpdateCompanyNotice": {
"description": "A companynotice",
Expand Down
11 changes: 1 addition & 10 deletions api/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1153,9 +1153,6 @@ definitions:
x-go-name: Message
type: object
x-go-package: github.com/actiontech/dms/pkg/dms-common/api/dms/v1
DeleteDBServiceSyncTaskReq:
type: object
x-go-package: github.com/actiontech/dms/api/dms/service/v1
FeishuConfigurationResData:
properties:
app_id:
Expand Down Expand Up @@ -1316,9 +1313,6 @@ definitions:
x-go-name: Message
type: object
x-go-package: github.com/actiontech/dms/api/dms/service/v1
GetDBServiceSyncTaskReq:
type: object
x-go-package: github.com/actiontech/dms/api/dms/service/v1
GetDataExportTask:
properties:
audit_result:
Expand Down Expand Up @@ -3910,9 +3904,6 @@ definitions:
x-go-name: QueryTimeoutSecond
type: object
x-go-package: github.com/actiontech/dms/pkg/dms-common/api/dms/v1
SyncDBServicesReq:
type: object
x-go-package: github.com/actiontech/dms/api/dms/service/v1
SyncDatabaseSourceServiceReq:
properties:
database_source_service_uid:
Expand Down Expand Up @@ -4128,7 +4119,7 @@ definitions:
type: string
x-go-name: Uid
type: object
x-go-package: github.com/actiontech/dms/pkg/dms-common/api/dms/v1
x-go-package: github.com/actiontech/dms/api/dms/service/v1
UpdateCompanyNotice:
description: A companynotice
properties:
Expand Down

0 comments on commit 6e5ef9a

Please sign in to comment.