Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api definition: instance tip add enable backup param as response #2762

Merged
merged 1 commit into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading