Skip to content

Commit 274332c

Browse files
committed
chore: auto update client api apecloud/apecloud@124dc70
1 parent d431a5f commit 274332c

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

.generator/schemas/adminapi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3037,7 +3037,7 @@ paths:
30373037
content:
30383038
application/json:
30393039
schema:
3040-
type: boolean
3040+
$ref: '#/components/schemas/datasource'
30413041
/admin/v1/organizations/{orgName}/clusters/{clusterName}/updateDS:
30423042
post:
30433043
tags:
@@ -3069,7 +3069,7 @@ paths:
30693069
content:
30703070
application/json:
30713071
schema:
3072-
type: boolean
3072+
$ref: '#/components/schemas/datasource'
30733073
/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/query:
30743074
post:
30753075
tags:

.generator/schemas/openapi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6492,7 +6492,7 @@ paths:
64926492
content:
64936493
application/json:
64946494
schema:
6495-
type: boolean
6495+
$ref: '#/components/schemas/datasource'
64966496
/api/v1/organizations/{orgName}/clusters/{clusterName}/updateDS:
64976497
post:
64986498
tags:
@@ -6524,7 +6524,7 @@ paths:
65246524
content:
65256525
application/json:
65266526
schema:
6527-
type: boolean
6527+
$ref: '#/components/schemas/datasource'
65286528
/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/query:
65296529
post:
65306530
tags:

apecloud

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Subproject commit 102831b8bb2272032cf7e0110bdd5350a785d18c
1+
Subproject commit 124dc702218759120706056e07fcf149c378184b

api/kbcloud/admin/api_dms.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -758,11 +758,11 @@ func (a *DmsApi) CloseSessions(ctx _context.Context, orgName string, clusterName
758758
}
759759

760760
// CreateDataSourceV2 create the datasource.
761-
func (a *DmsApi) CreateDataSourceV2(ctx _context.Context, orgName string, clusterName string, body Datasource) (bool, *_nethttp.Response, error) {
761+
func (a *DmsApi) CreateDataSourceV2(ctx _context.Context, orgName string, clusterName string, body Datasource) (Datasource, *_nethttp.Response, error) {
762762
var (
763763
localVarHTTPMethod = _nethttp.MethodPost
764764
localVarPostBody interface{}
765-
localVarReturnValue bool
765+
localVarReturnValue Datasource
766766
)
767767

768768
// Add api info to context
@@ -1807,11 +1807,11 @@ func (a *DmsApi) TestDataSourceV2(ctx _context.Context, orgName string, clusterN
18071807
}
18081808

18091809
// UpdateDataSourceV2 update the datasource.
1810-
func (a *DmsApi) UpdateDataSourceV2(ctx _context.Context, orgName string, clusterName string, body Datasource) (bool, *_nethttp.Response, error) {
1810+
func (a *DmsApi) UpdateDataSourceV2(ctx _context.Context, orgName string, clusterName string, body Datasource) (Datasource, *_nethttp.Response, error) {
18111811
var (
18121812
localVarHTTPMethod = _nethttp.MethodPost
18131813
localVarPostBody interface{}
1814-
localVarReturnValue bool
1814+
localVarReturnValue Datasource
18151815
)
18161816

18171817
// Add api info to context

api/kbcloud/api_dms.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -758,11 +758,11 @@ func (a *DmsApi) CloseSessions(ctx _context.Context, orgName string, clusterName
758758
}
759759

760760
// CreateDataSourceV2 create the datasource.
761-
func (a *DmsApi) CreateDataSourceV2(ctx _context.Context, orgName string, clusterName string, body Datasource) (bool, *_nethttp.Response, error) {
761+
func (a *DmsApi) CreateDataSourceV2(ctx _context.Context, orgName string, clusterName string, body Datasource) (Datasource, *_nethttp.Response, error) {
762762
var (
763763
localVarHTTPMethod = _nethttp.MethodPost
764764
localVarPostBody interface{}
765-
localVarReturnValue bool
765+
localVarReturnValue Datasource
766766
)
767767

768768
// Add api info to context
@@ -1807,11 +1807,11 @@ func (a *DmsApi) TestDataSourceV2(ctx _context.Context, orgName string, clusterN
18071807
}
18081808

18091809
// UpdateDataSourceV2 update the datasource.
1810-
func (a *DmsApi) UpdateDataSourceV2(ctx _context.Context, orgName string, clusterName string, body Datasource) (bool, *_nethttp.Response, error) {
1810+
func (a *DmsApi) UpdateDataSourceV2(ctx _context.Context, orgName string, clusterName string, body Datasource) (Datasource, *_nethttp.Response, error) {
18111811
var (
18121812
localVarHTTPMethod = _nethttp.MethodPost
18131813
localVarPostBody interface{}
1814-
localVarReturnValue bool
1814+
localVarReturnValue Datasource
18151815
)
18161816

18171817
// Add api info to context

0 commit comments

Comments
 (0)