Skip to content
This repository was archived by the owner on May 8, 2025. It is now read-only.

Commit 50b967d

Browse files
authored
Merge pull request #49 from unkeyed/speakeasy-sdk-regen-1730108873
chore: 🐝 Update SDK - Generate 0.9.5
2 parents 07b4f16 + e030d57 commit 50b967d

File tree

9 files changed

+56
-30
lines changed

9 files changed

+56
-30
lines changed

.speakeasy/gen.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 4fc4737a-135f-4840-8e6d-42a2b2a2884b
33
management:
4-
docChecksum: 59dd02148a920cd69cef637da74fab37
4+
docChecksum: f56588fc2d036bcae3411872cb7a4f6b
55
docVersion: 1.0.0
6-
speakeasyVersion: 1.418.1
7-
generationVersion: 2.438.3
8-
releaseVersion: 0.9.4
9-
configChecksum: 117778630705356958a9f1d4317948b4
6+
speakeasyVersion: 1.422.1
7+
generationVersion: 2.438.15
8+
releaseVersion: 0.9.5
9+
configChecksum: 2ed914345363c8de34fb47a258642372
1010
repoURL: https://github.com/unkeyed/unkey-go.git
1111
installationURL: https://github.com/unkeyed/unkey-go
1212
features:

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ generation:
1212
auth:
1313
oAuth2ClientCredentialsEnabled: true
1414
go:
15-
version: 0.9.4
15+
version: 0.9.5
1616
additionalDependencies: {}
1717
allowUnknownFieldsInWeakUnions: false
1818
clientServerStatusCodesAsErrors: true

.speakeasy/workflow.lock

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
1-
speakeasyVersion: 1.418.1
1+
speakeasyVersion: 1.422.1
22
sources:
33
openapi.json:
44
sourceNamespace: openapi-json
5-
sourceRevisionDigest: sha256:f7da09f3f786a654f681968a9472f7b1fb1f2cfd28a5de9fb0e22eb28684b49e
6-
sourceBlobDigest: sha256:ccf76ebe23afdfc9add4a94cd104a04a6f32d14396733d0969409105e1e4f71e
5+
sourceRevisionDigest: sha256:83052d10b562ee373d66b562b62e25ef9cc1b75b88c8fef8e05b48c99efb53d0
6+
sourceBlobDigest: sha256:43668944807ad4c9cb429c37c516be26fe2a14b9165957d22d277e6eee6ed55c
77
tags:
88
- latest
99
- main
1010
targets:
1111
go:
1212
source: openapi.json
1313
sourceNamespace: openapi-json
14-
sourceRevisionDigest: sha256:f7da09f3f786a654f681968a9472f7b1fb1f2cfd28a5de9fb0e22eb28684b49e
15-
sourceBlobDigest: sha256:ccf76ebe23afdfc9add4a94cd104a04a6f32d14396733d0969409105e1e4f71e
14+
sourceRevisionDigest: sha256:83052d10b562ee373d66b562b62e25ef9cc1b75b88c8fef8e05b48c99efb53d0
15+
sourceBlobDigest: sha256:43668944807ad4c9cb429c37c516be26fe2a14b9165957d22d277e6eee6ed55c
16+
codeSamplesNamespace: openapi-json-code-samples
17+
codeSamplesRevisionDigest: sha256:6120e6bd38b7b13362ae9167c517e492d8afb26c9ca537184ce393ee4b8aa23f
1618
workflow:
1719
workflowVersion: 1.0.0
1820
speakeasyVersion: latest
@@ -26,3 +28,7 @@ workflow:
2628
go:
2729
target: go
2830
source: openapi.json
31+
codeSamples:
32+
registry:
33+
location: registry.speakeasyapi.dev/unkey/unkey/openapi-json-code-samples
34+
blocking: false

.speakeasy/workflow.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,7 @@ targets:
1010
go:
1111
target: go
1212
source: openapi.json
13+
codeSamples:
14+
registry:
15+
location: registry.speakeasyapi.dev/unkey/unkey/openapi-json-code-samples
16+
blocking: false

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,4 +248,14 @@ Based on:
248248
### Generated
249249
- [go v0.9.4] .
250250
### Releases
251-
- [Go v0.9.4] https://github.com/unkeyed/unkey-go/releases/tag/v0.9.4 - .
251+
- [Go v0.9.4] https://github.com/unkeyed/unkey-go/releases/tag/v0.9.4 - .
252+
253+
## 2024-10-28 09:47:01
254+
### Changes
255+
Based on:
256+
- OpenAPI Doc
257+
- Speakeasy CLI 1.422.1 (2.438.15) https://github.com/speakeasy-api/speakeasy
258+
### Generated
259+
- [go v0.9.5] .
260+
### Releases
261+
- [Go v0.9.5] https://github.com/unkeyed/unkey-go/releases/tag/v0.9.5 - .

docs/models/components/code.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ Possible values are:
1212
- INSUFFICIENT_PERMISSIONS: you do not have the required permissions to perform this action
1313
- EXPIRED: The key was only valid for a certain time and has expired.
1414

15+
These are validation codes, the HTTP status will be 200.
16+
1517

1618

1719
## Values

docs/models/components/v1keysverifykeyresponse.md

Lines changed: 15 additions & 15 deletions
Large diffs are not rendered by default.

models/components/v1keysverifykeyresponse.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ func (o *V1KeysVerifyKeyResponseRatelimit) GetReset() int64 {
4949
// - DISABLED: the key is disabled
5050
// - INSUFFICIENT_PERMISSIONS: you do not have the required permissions to perform this action
5151
// - EXPIRED: The key was only valid for a certain time and has expired.
52+
//
53+
// These are validation codes, the HTTP status will be 200.
5254
type Code string
5355

5456
const (
@@ -154,6 +156,8 @@ type V1KeysVerifyKeyResponse struct {
154156
// - INSUFFICIENT_PERMISSIONS: you do not have the required permissions to perform this action
155157
// - EXPIRED: The key was only valid for a certain time and has expired.
156158
//
159+
// These are validation codes, the HTTP status will be 200.
160+
//
157161
Code Code `json:"code"`
158162
// Sets the key to be enabled or disabled. Disabled keys will not verify.
159163
Enabled *bool `json:"enabled,omitempty"`

unkey.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,9 @@ func New(opts ...SDKOption) *Unkey {
154154
sdkConfiguration: sdkConfiguration{
155155
Language: "go",
156156
OpenAPIDocVersion: "1.0.0",
157-
SDKVersion: "0.9.4",
158-
GenVersion: "2.438.3",
159-
UserAgent: "speakeasy-sdk/go 0.9.4 2.438.3 1.0.0 github.com/unkeyed/unkey-go",
157+
SDKVersion: "0.9.5",
158+
GenVersion: "2.438.15",
159+
UserAgent: "speakeasy-sdk/go 0.9.5 2.438.15 1.0.0 github.com/unkeyed/unkey-go",
160160
Hooks: hooks.New(),
161161
},
162162
}

0 commit comments

Comments
 (0)