Skip to content

Commit 329c713

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.519.0
1 parent 4bb403e commit 329c713

File tree

8 files changed

+80
-36
lines changed

8 files changed

+80
-36
lines changed

.speakeasy/gen.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
lockVersion: 2.0.0
22
id: 2858c6d9-f946-4185-ae68-3b8e708830fb
33
management:
4-
docChecksum: 9d4bd5f193431667b20b2ca472e24b5e
4+
docChecksum: 7e6e4688e0d59ac9a322a7d3f46fc6d8
55
docVersion: 0.4.0
6-
speakeasyVersion: 1.509.1
7-
generationVersion: 2.539.1
8-
releaseVersion: 3.25.1
9-
configChecksum: 476690b55ce7919ffef0605a0339b0e0
6+
speakeasyVersion: 1.519.0
7+
generationVersion: 2.552.1
8+
releaseVersion: 3.26.0
9+
configChecksum: 28ec7a0fa2c75993e9e96d2f9830655a
1010
repoURL: https://github.com/speakeasy-api/speakeasy-client-sdk-go.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/speakeasy-api/speakeasy-client-sdk-go
1313
published: true
1414
features:
1515
go:
1616
additionalDependencies: 0.1.0
17-
constsAndDefaults: 0.1.10
17+
constsAndDefaults: 0.1.11
1818
core: 3.7.2
1919
deepObjectParams: 0.1.1
2020
defaultEnabledRetries: 0.2.0
@@ -36,7 +36,7 @@ features:
3636
retries: 2.83.2
3737
sdkHooks: 0.1.0
3838
serverIDs: 2.81.1
39-
tests: 0.14.0
39+
tests: 0.15.0
4040
uploadStreams: 0.1.0
4141
generatedFiles:
4242
- .devcontainer/README.md

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
speakeasyVersion: 1.509.1
1+
speakeasyVersion: 1.519.0
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:48ac8583b536af0a3623fc69b9211e10e6c4ed902d3ca799adccbfc4490dc0d9
6-
sourceBlobDigest: sha256:880d20a128cd2fe2f39bf95e069930ffbaea616817ac2e44ff2f99cd5046c12d
5+
sourceRevisionDigest: sha256:b8504c20e838fb71e66d3a3a89ee2e39e8006353b912bf50faf0d37d26fe988d
6+
sourceBlobDigest: sha256:08d4395be0ba0cfabbfb2b09a508b4ee5d6767548586b7a86724fc4bd8b188b2
77
tags:
88
- latest
99
- main
@@ -12,10 +12,10 @@ targets:
1212
speakeasy-client-sdk-go:
1313
source: my-source
1414
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:48ac8583b536af0a3623fc69b9211e10e6c4ed902d3ca799adccbfc4490dc0d9
16-
sourceBlobDigest: sha256:880d20a128cd2fe2f39bf95e069930ffbaea616817ac2e44ff2f99cd5046c12d
15+
sourceRevisionDigest: sha256:b8504c20e838fb71e66d3a3a89ee2e39e8006353b912bf50faf0d37d26fe988d
16+
sourceBlobDigest: sha256:08d4395be0ba0cfabbfb2b09a508b4ee5d6767548586b7a86724fc4bd8b188b2
1717
codeSamplesNamespace: code-samples-go-speakeasy-client-sdk-go
18-
codeSamplesRevisionDigest: sha256:5a98534eb3ca3c84e122633039c5aa09e2a63bd3d99727a4e00ca8cc332c0c1e
18+
codeSamplesRevisionDigest: sha256:08b7e4e39489b3ced7fd153968059022b0d964bd87b1935312ad20cf8678bee8
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
@@ -1656,4 +1656,14 @@ Based on:
16561656
### Generated
16571657
- [go v3.25.1] .
16581658
### Releases
1659-
- [Go v3.25.1] https://github.com/speakeasy-api/speakeasy-client-sdk-go/releases/tag/v3.25.1 - .
1659+
- [Go v3.25.1] https://github.com/speakeasy-api/speakeasy-client-sdk-go/releases/tag/v3.25.1 - .
1660+
1661+
## 2025-03-17 22:02:15
1662+
### Changes
1663+
Based on:
1664+
- OpenAPI Doc
1665+
- Speakeasy CLI 1.519.0 (2.552.1) https://github.com/speakeasy-api/speakeasy
1666+
### Generated
1667+
- [go v3.26.0] .
1668+
### Releases
1669+
- [Go v3.26.0] https://github.com/speakeasy-api/speakeasy-client-sdk-go/releases/tag/v3.26.0 - .

docs/pkg/models/shared/workspacetoken.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ A workspace token
1010
| `Alg` | *string* | :heavy_check_mark: | N/A |
1111
| `CreatedAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | N/A |
1212
| `CreatedBy` | **string* | :heavy_minus_sign: | N/A |
13+
| `CreatedByName` | **string* | :heavy_minus_sign: | N/A |
14+
| `CreatedByPhotoURL` | **string* | :heavy_minus_sign: | N/A |
1315
| `Email` | **string* | :heavy_minus_sign: | N/A |
1416
| `ID` | *string* | :heavy_check_mark: | N/A |
1517
| `Key` | *string* | :heavy_check_mark: | N/A |

gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ generation:
1919
tests:
2020
generateNewTests: true
2121
go:
22-
version: 3.25.1
22+
version: 3.26.0
2323
additionalDependencies: {}
2424
allowUnknownFieldsInWeakUnions: false
2525
clientServerStatusCodesAsErrors: true

pkg/models/shared/workspacetoken.go

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,17 @@ import (
99

1010
// WorkspaceToken - A workspace token
1111
type WorkspaceToken struct {
12-
Alg string `json:"alg"`
13-
CreatedAt time.Time `json:"created_at"`
14-
CreatedBy *string `json:"created_by,omitempty"`
15-
Email *string `json:"email,omitempty"`
16-
ID string `json:"id"`
17-
Key string `json:"key"`
18-
LastUsed *time.Time `json:"last_used,omitempty"`
19-
Name string `json:"name"`
20-
WorkspaceID string `json:"workspace_id"`
12+
Alg string `json:"alg"`
13+
CreatedAt time.Time `json:"created_at"`
14+
CreatedBy *string `json:"created_by,omitempty"`
15+
CreatedByName *string `json:"created_by_name,omitempty"`
16+
CreatedByPhotoURL *string `json:"created_by_photo_url,omitempty"`
17+
Email *string `json:"email,omitempty"`
18+
ID string `json:"id"`
19+
Key string `json:"key"`
20+
LastUsed *time.Time `json:"last_used,omitempty"`
21+
Name string `json:"name"`
22+
WorkspaceID string `json:"workspace_id"`
2123
}
2224

2325
func (w WorkspaceToken) MarshalJSON() ([]byte, error) {
@@ -52,6 +54,20 @@ func (o *WorkspaceToken) GetCreatedBy() *string {
5254
return o.CreatedBy
5355
}
5456

57+
func (o *WorkspaceToken) GetCreatedByName() *string {
58+
if o == nil {
59+
return nil
60+
}
61+
return o.CreatedByName
62+
}
63+
64+
func (o *WorkspaceToken) GetCreatedByPhotoURL() *string {
65+
if o == nil {
66+
return nil
67+
}
68+
return o.CreatedByPhotoURL
69+
}
70+
5571
func (o *WorkspaceToken) GetEmail() *string {
5672
if o == nil {
5773
return nil

speakeasy.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,9 @@ func New(opts ...SDKOption) *Speakeasy {
189189
sdkConfiguration: sdkConfiguration{
190190
Language: "go",
191191
OpenAPIDocVersion: "0.4.0",
192-
SDKVersion: "3.25.1",
193-
GenVersion: "2.539.1",
194-
UserAgent: "speakeasy-sdk/go 3.25.1 2.539.1 0.4.0 github.com/speakeasy-api/speakeasy-client-sdk-go",
192+
SDKVersion: "3.26.0",
193+
GenVersion: "2.552.1",
194+
UserAgent: "speakeasy-sdk/go 3.26.0 2.552.1 0.4.0 github.com/speakeasy-api/speakeasy-client-sdk-go",
195195
Globals: globals.Globals{},
196196
Hooks: hooks.New(),
197197
},

tests/mockserver/internal/sdk/models/components/workspacetoken.go

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,17 @@ import (
99

1010
// WorkspaceToken - A workspace token
1111
type WorkspaceToken struct {
12-
Alg string `json:"alg"`
13-
CreatedAt time.Time `json:"created_at"`
14-
CreatedBy *string `json:"created_by,omitempty"`
15-
Email *string `json:"email,omitempty"`
16-
ID string `json:"id"`
17-
Key string `json:"key"`
18-
LastUsed *time.Time `json:"last_used,omitempty"`
19-
Name string `json:"name"`
20-
WorkspaceID string `json:"workspace_id"`
12+
Alg string `json:"alg"`
13+
CreatedAt time.Time `json:"created_at"`
14+
CreatedBy *string `json:"created_by,omitempty"`
15+
CreatedByName *string `json:"created_by_name,omitempty"`
16+
CreatedByPhotoURL *string `json:"created_by_photo_url,omitempty"`
17+
Email *string `json:"email,omitempty"`
18+
ID string `json:"id"`
19+
Key string `json:"key"`
20+
LastUsed *time.Time `json:"last_used,omitempty"`
21+
Name string `json:"name"`
22+
WorkspaceID string `json:"workspace_id"`
2123
}
2224

2325
func (w WorkspaceToken) MarshalJSON() ([]byte, error) {
@@ -52,6 +54,20 @@ func (o *WorkspaceToken) GetCreatedBy() *string {
5254
return o.CreatedBy
5355
}
5456

57+
func (o *WorkspaceToken) GetCreatedByName() *string {
58+
if o == nil {
59+
return nil
60+
}
61+
return o.CreatedByName
62+
}
63+
64+
func (o *WorkspaceToken) GetCreatedByPhotoURL() *string {
65+
if o == nil {
66+
return nil
67+
}
68+
return o.CreatedByPhotoURL
69+
}
70+
5571
func (o *WorkspaceToken) GetEmail() *string {
5672
if o == nil {
5773
return nil

0 commit comments

Comments
 (0)