Skip to content

Commit

Permalink
Merge pull request #1339 from actiontech/mark-deprecated-api
Browse files Browse the repository at this point in the history
deprecate api which has a bug
  • Loading branch information
taolx0 authored Feb 24, 2023
2 parents 408aad0 + ae08ad2 commit 1550844
Show file tree
Hide file tree
Showing 4 changed files with 4 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 @@ -127,6 +127,7 @@ func ConvertMaintenanceTimeReqV1ToPeriod(mt []*MaintenanceTimeReqV1) model.Perio
}

// CreateInstance create instance
// @Deprecated
// @Summary 添加实例
// @Description create a instance
// @Id createInstanceV1
Expand Down
1 change: 1 addition & 0 deletions sqle/docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -2365,6 +2365,7 @@ var doc = `{
],
"summary": "添加实例",
"operationId": "createInstanceV1",
"deprecated": true,
"parameters": [
{
"type": "string",
Expand Down
1 change: 1 addition & 0 deletions sqle/docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -2349,6 +2349,7 @@
],
"summary": "添加实例",
"operationId": "createInstanceV1",
"deprecated": true,
"parameters": [
{
"type": "string",
Expand Down
1 change: 1 addition & 0 deletions sqle/docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5393,6 +5393,7 @@ paths:
post:
consumes:
- application/json
deprecated: true
description: create a instance
operationId: createInstanceV1
parameters:
Expand Down

0 comments on commit 1550844

Please sign in to comment.