Skip to content

Commit b7886f0

Browse files
committed
feat: added config property to kafkaconnect
1 parent eb64c8b commit b7886f0

File tree

6 files changed

+40
-20
lines changed

6 files changed

+40
-20
lines changed

.mockery.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
template: testify
22
filename: "{{ .InterfaceName | lower }}_mock.go"
33
formatter: goimports
4+
include-auto-generated: true
45
packages:
56
github.com/aiven/go-client-codegen:
67
interfaces:

.trunk/trunk.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ lint:
2222
- checkov@3.2.495
2323
- git-diff-check
2424
- gofmt@1.20.4
25-
- golangci-lint@2.7.2
25+
- golangci-lint2@2.7.2
2626
- markdownlint@0.47.0
2727
- osv-scanner@2.3.1
2828
- prettier@3.7.4

Taskfile.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ tasks:
3737
- task: get-openapi-spec
3838
- task: go-generate
3939
- task: generate-mocks
40+
- task: fmt-imports
4041
test:
4142
cmds:
4243
- go test -v

client_mock.go

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

handler/kafkaconnect/kafkaconnect.go

Lines changed: 12 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

openapi_patch.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,29 @@ components:
3939
additionalProperties: true
4040
ServiceKafkaConnectEditConnectorRequestBody:
4141
additionalProperties: true
42+
ServiceKafkaConnectListResponse:
43+
properties:
44+
connectors:
45+
items:
46+
properties:
47+
# config has dynamic keys, with more fields than documented in a spec
48+
config:
49+
additionalProperties:
50+
type: string
51+
ServiceKafkaConnectCreateConnectorResponse:
52+
properties:
53+
connector:
54+
properties:
55+
config:
56+
additionalProperties:
57+
type: string
58+
ServiceKafkaConnectEditConnectorResponse:
59+
properties:
60+
connector:
61+
properties:
62+
config:
63+
additionalProperties:
64+
type: string
4265
ServiceClickHousePasswordResetRequestBody:
4366
properties:
4467
password:

0 commit comments

Comments
 (0)