Skip to content

Commit

Permalink
api definition: instance tip add enable backup param as response
Browse files Browse the repository at this point in the history
  • Loading branch information
winfredLIN committed Nov 15, 2024
1 parent ff1c640 commit b1956b6
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions sqle/api/controller/v1/instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ type InstanceTipResV1 struct {
WorkflowTemplateId uint32 `json:"workflow_template_id"`
Host string `json:"host"`
Port string `json:"port"`
EnableBackup bool `json:"enable_backup"`
}

type GetInstanceTipsResV1 struct {
Expand Down
3 changes: 3 additions & 0 deletions sqle/docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -15449,6 +15449,9 @@ var doc = `{
"v1.InstanceTipResV1": {
"type": "object",
"properties": {
"enable_backup": {
"type": "boolean"
},
"host": {
"type": "string"
},
Expand Down
3 changes: 3 additions & 0 deletions sqle/docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -15433,6 +15433,9 @@
"v1.InstanceTipResV1": {
"type": "object",
"properties": {
"enable_backup": {
"type": "boolean"
},
"host": {
"type": "string"
},
Expand Down
2 changes: 2 additions & 0 deletions sqle/docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3012,6 +3012,8 @@ definitions:
type: object
v1.InstanceTipResV1:
properties:
enable_backup:
type: boolean
host:
type: string
instance_id:
Expand Down

0 comments on commit b1956b6

Please sign in to comment.