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

Commit c4be965

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.487.0
1 parent b09569e commit c4be965

File tree

8 files changed

+46
-20
lines changed

8 files changed

+46
-20
lines changed

.speakeasy/gen.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
lockVersion: 2.0.0
22
id: 4fc4737a-135f-4840-8e6d-42a2b2a2884b
33
management:
4-
docChecksum: 36d57d2ebcc889f6998d500ec8899dbb
4+
docChecksum: f709287f845b3a0e2573d66835bc0d4d
55
docVersion: 1.0.0
6-
speakeasyVersion: 1.481.1
7-
generationVersion: 2.500.5
8-
releaseVersion: 0.12.0
9-
configChecksum: 71353dbefee1832b29202864ab261760
6+
speakeasyVersion: 1.487.0
7+
generationVersion: 2.506.0
8+
releaseVersion: 0.13.0
9+
configChecksum: c563a5a15be71d943d9805ee4d2e08e4
1010
repoURL: https://github.com/unkeyed/unkey-go.git
1111
installationURL: https://github.com/unkeyed/unkey-go
1212
features:
1313
go:
1414
additionalDependencies: 0.1.0
15-
constsAndDefaults: 0.1.6
16-
core: 3.6.12
15+
constsAndDefaults: 0.1.7
16+
core: 3.7.0
1717
defaultEnabledRetries: 0.2.0
1818
deprecations: 2.81.2
1919
envVarSecurityUsage: 0.3.2

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ generation:
1313
oAuth2ClientCredentialsEnabled: true
1414
oAuth2PasswordEnabled: false
1515
go:
16-
version: 0.12.0
16+
version: 0.13.0
1717
additionalDependencies: {}
1818
allowUnknownFieldsInWeakUnions: false
1919
clientServerStatusCodesAsErrors: true

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.481.1
1+
speakeasyVersion: 1.487.0
22
sources:
33
openapi.json:
44
sourceNamespace: openapi-json
5-
sourceRevisionDigest: sha256:4178e9da06ec543aefb7c30ed1950f75bb58d07a258c3af060c361017cea7d5c
6-
sourceBlobDigest: sha256:80c886c09d00fa411bdbabd47b78ae9f876f36f600ae342c9a7c300e79c15d98
5+
sourceRevisionDigest: sha256:4e90949f8fe03ecfaeaa18c6b61d59a1d31a8cf1c5d621e653f5f40d3dc7a39e
6+
sourceBlobDigest: sha256:2d82be566013c7396725ff2757ee20d9904b3fbe7aaf59a51229d056c8d9e79d
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1736900992
9+
- speakeasy-sdk-regen-1738542651
1010
- 1.0.0
1111
targets:
1212
go:
1313
source: openapi.json
1414
sourceNamespace: openapi-json
15-
sourceRevisionDigest: sha256:4178e9da06ec543aefb7c30ed1950f75bb58d07a258c3af060c361017cea7d5c
16-
sourceBlobDigest: sha256:80c886c09d00fa411bdbabd47b78ae9f876f36f600ae342c9a7c300e79c15d98
15+
sourceRevisionDigest: sha256:4e90949f8fe03ecfaeaa18c6b61d59a1d31a8cf1c5d621e653f5f40d3dc7a39e
16+
sourceBlobDigest: sha256:2d82be566013c7396725ff2757ee20d9904b3fbe7aaf59a51229d056c8d9e79d
1717
codeSamplesNamespace: openapi-json-go-code-samples
18-
codeSamplesRevisionDigest: sha256:f629299411e3cfd98aafaaf5c6e0e5fa8d23ed4546d7c7d1128e6f9e59be7353
18+
codeSamplesRevisionDigest: sha256:afeffba69f8f662a1927530c5bed9af4bd017929b7eaece7763b60cc2773d0b1
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,4 +288,14 @@ Based on:
288288
### Generated
289289
- [go v0.12.0] .
290290
### Releases
291-
- [Go v0.12.0] https://github.com/unkeyed/unkey-go/releases/tag/v0.12.0 - .
291+
- [Go v0.12.0] https://github.com/unkeyed/unkey-go/releases/tag/v0.12.0 - .
292+
293+
## 2025-02-07 00:30:02
294+
### Changes
295+
Based on:
296+
- OpenAPI Doc
297+
- Speakeasy CLI 1.487.0 (2.506.0) https://github.com/speakeasy-api/speakeasy
298+
### Generated
299+
- [go v0.13.0] .
300+
### Releases
301+
- [Go v0.13.0] https://github.com/unkeyed/unkey-go/releases/tag/v0.13.0 - .

internal/utils/queryparams.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@ func populateQueryParams(queryParams interface{}, globals interface{}, values ur
6565
continue
6666
}
6767

68+
constValue := parseConstTag(fieldType)
69+
if constValue != nil {
70+
values.Add(qpTag.ParamName, *constValue)
71+
continue
72+
}
73+
6874
if globals != nil {
6975
var globalFound bool
7076
fieldType, valType, globalFound = populateFromGlobals(fieldType, valType, queryParamTagKey, globals)

internal/utils/utils.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,16 @@ func AsSecuritySource(security interface{}) func(context.Context) (interface{},
9696
}
9797
}
9898

99+
func parseConstTag(field reflect.StructField) *string {
100+
value := field.Tag.Get("const")
101+
102+
if value == "" {
103+
return nil
104+
}
105+
106+
return &value
107+
}
108+
99109
func parseStructTag(tagKey string, field reflect.StructField) map[string]string {
100110
tag := field.Tag.Get(tagKey)
101111
if tag == "" {

models/operations/getverifications.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ type GetVerificationsRequest struct {
385385
// When you are providing zero or more than one tag, all usage counts are aggregated and summed up. Send multiple requests with one tag each if you need counts per tag.
386386
Tag *Tag `queryParam:"style=form,explode=true,name=tag"`
387387
Start *int64 `queryParam:"style=form,explode=true,name=start"`
388-
End *int64 `default:"1738456331924" queryParam:"style=form,explode=true,name=end"`
388+
End *int64 `default:"1738888221130" queryParam:"style=form,explode=true,name=end"`
389389
// By default, datapoints are not aggregated, however you probably want to get a breakdown per time, key or identity.
390390
//
391391
// Grouping by tags and by tag is mutually exclusive.

unkey.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,9 @@ func New(opts ...SDKOption) *Unkey {
156156
sdkConfiguration: sdkConfiguration{
157157
Language: "go",
158158
OpenAPIDocVersion: "1.0.0",
159-
SDKVersion: "0.12.0",
160-
GenVersion: "2.500.5",
161-
UserAgent: "speakeasy-sdk/go 0.12.0 2.500.5 1.0.0 github.com/unkeyed/unkey-go",
159+
SDKVersion: "0.13.0",
160+
GenVersion: "2.506.0",
161+
UserAgent: "speakeasy-sdk/go 0.13.0 2.506.0 1.0.0 github.com/unkeyed/unkey-go",
162162
Hooks: hooks.New(),
163163
},
164164
}

0 commit comments

Comments
 (0)