Skip to content

Commit f475863

Browse files
committed
Refresh generated SDK contract
1 parent 236dea8 commit f475863

5 files changed

Lines changed: 29 additions & 7 deletions

File tree

‎.github/workflows/run-on-main.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
concurrency:
5555
group: main-sdk-go-${{ github.ref }}
5656
cancel-in-progress: true
57-
uses: ./.github/workflows/sdk-go.yml
57+
uses: $/.github/workflows/sdk-go.yml
5858
codegen:
5959
name: Codegen
6060
concurrency:

‎.github/workflows/run-on-pr.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
uses: ./.github/workflows/verify-docgen.yml
3939
sdk-go:
4040
name: Go SDK
41-
uses: ./.github/workflows/sdk-go.yml
41+
uses: $/.github/workflows/sdk-go.yml
4242
codegen:
4343
name: Codegen
4444
uses: ./.github/workflows/verify-gen.yml

‎sdk/go/client/oas_schemas_gen.go‎

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

‎sdk/go/openapi.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4681,7 +4681,7 @@
46814681
"type": "object"
46824682
},
46834683
"StorageACLUserRunConfig": {
4684-
"description": "ACLUserConfig contains ACL user authentication configuration.",
4684+
"description": "ACLUserConfig contains ACL user authentication configuration.\nA nil value is a valid no-auth configuration: the store connects without\ncredentials. A populated block whose password resolves to empty is a\nmisconfiguration (mis-keyed or unsynced secret) and is rejected rather\nthan silently downgraded to an unauthenticated connection.",
46854685
"properties": {
46864686
"password_env_var": {
46874687
"description": "PasswordEnvVar is the environment variable containing the Redis password.",
@@ -4705,7 +4705,7 @@
47054705
"type": "string"
47064706
},
47074707
"auth_type": {
4708-
"description": "AuthType must be \"aclUser\" - only ACL user authentication is supported.",
4708+
"description": "AuthType selects the Redis authentication mode. \"aclUser\" is the only\nauthenticated mode. Leave it empty, with a nil ACLUserConfig, for a\nno-auth connection to a Redis/Valkey instance that has no authentication\nconfigured. Setting AuthType to \"aclUser\" declares authenticated intent:\nthe conversion rejects that pairing with a nil ACLUserConfig rather than\ndowngrading to no-auth. Otherwise presence of ACLUserConfig is what\nenables authentication.",
47094709
"type": "string"
47104710
},
47114711
"cluster_mode": {

‎sdk/go/openapi.yaml‎

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4257,7 +4257,12 @@ components:
42574257
uniqueItems: false
42584258
type: object
42594259
StorageACLUserRunConfig:
4260-
description: ACLUserConfig contains ACL user authentication configuration.
4260+
description: |-
4261+
ACLUserConfig contains ACL user authentication configuration.
4262+
A nil value is a valid no-auth configuration: the store connects without
4263+
credentials. A populated block whose password resolves to empty is a
4264+
misconfiguration (mis-keyed or unsynced secret) and is rejected rather
4265+
than silently downgraded to an unauthenticated connection.
42614266
properties:
42624267
password_env_var:
42634268
description: PasswordEnvVar is the environment variable containing the Redis password.
@@ -4277,7 +4282,14 @@ components:
42774282
Mutually exclusive with SentinelConfig.
42784283
type: string
42794284
auth_type:
4280-
description: AuthType must be "aclUser" - only ACL user authentication is supported.
4285+
description: |-
4286+
AuthType selects the Redis authentication mode. "aclUser" is the only
4287+
authenticated mode. Leave it empty, with a nil ACLUserConfig, for a
4288+
no-auth connection to a Redis/Valkey instance that has no authentication
4289+
configured. Setting AuthType to "aclUser" declares authenticated intent:
4290+
the conversion rejects that pairing with a nil ACLUserConfig rather than
4291+
downgrading to no-auth. Otherwise presence of ACLUserConfig is what
4292+
enables authentication.
42814293
type: string
42824294
cluster_mode:
42834295
description: ClusterMode enables the Redis Cluster protocol. Requires Addr to be set.

0 commit comments

Comments
 (0)