Skip to content

Commit 7d3e948

Browse files
committed
Merge remote-tracking branch 'origin/main' into feat/sdk-generation-update
# Conflicts: # .speakeasy/workflow.lock
2 parents 3fda652 + 022f268 commit 7d3e948

File tree

192 files changed

+9649
-7528
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

192 files changed

+9649
-7528
lines changed

sdks/outpost-go/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.env
2+
.env.local
13
# .gitignore
24
.DS_Store
35
**/.speakeasy/temp/

sdks/outpost-go/.speakeasy/gen.lock

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

sdks/outpost-go/.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ generation:
2727
generateNewTests: false
2828
skipResponseBodyAssertions: false
2929
go:
30-
version: 0.6.0
30+
version: 0.5.0
3131
additionalDependencies: {}
3232
allowUnknownFieldsInWeakUnions: false
3333
baseErrorName: OutpostError

sdks/outpost-go/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func main() {
6666
if err != nil {
6767
log.Fatal(err)
6868
}
69-
if res.Res != nil {
69+
if res.Object != nil {
7070
// handle response
7171
}
7272
}
@@ -102,15 +102,15 @@ func main() {
102102

103103
s := outpostgo.New(
104104
outpostgo.WithSecurity(components.Security{
105-
AdminAPIKey: outpostgo.String("<YOUR_BEARER_TOKEN_HERE>"),
105+
AdminAPIKey: outpostgo.Pointer("<YOUR_BEARER_TOKEN_HERE>"),
106106
}),
107107
)
108108

109109
res, err := s.Health.Check(ctx)
110110
if err != nil {
111111
log.Fatal(err)
112112
}
113-
if res.Res != nil {
113+
if res.Object != nil {
114114
// handle response
115115
}
116116
}
@@ -147,7 +147,6 @@ func main() {
147147

148148
* [Check](docs/sdks/health/README.md#check) - Health Check
149149

150-
151150
### [Publish](docs/sdks/publish/README.md)
152151

153152
* [Event](docs/sdks/publish/README.md#event) - Publish Event
@@ -161,6 +160,7 @@ func main() {
161160

162161
### [Tenants](docs/sdks/tenants/README.md)
163162

163+
* [ListTenants](docs/sdks/tenants/README.md#listtenants) - List Tenants
164164
* [Upsert](docs/sdks/tenants/README.md#upsert) - Create or Update Tenant
165165
* [Get](docs/sdks/tenants/README.md#get) - Get Tenant
166166
* [Delete](docs/sdks/tenants/README.md#delete) - Delete Tenant
@@ -209,11 +209,11 @@ func main() {
209209
s := outpostgo.New(
210210
outpostgo.WithTenantID("<id>"),
211211
outpostgo.WithSecurity(components.Security{
212-
AdminAPIKey: outpostgo.String("<YOUR_BEARER_TOKEN_HERE>"),
212+
AdminAPIKey: outpostgo.Pointer("<YOUR_BEARER_TOKEN_HERE>"),
213213
}),
214214
)
215215

216-
res, err := s.Tenants.Upsert(ctx)
216+
res, err := s.Tenants.Upsert(ctx, nil)
217217
if err != nil {
218218
log.Fatal(err)
219219
}
@@ -261,7 +261,7 @@ func main() {
261261
if err != nil {
262262
log.Fatal(err)
263263
}
264-
if res.Res != nil {
264+
if res.Object != nil {
265265
// handle response
266266
}
267267
}
@@ -300,7 +300,7 @@ func main() {
300300
if err != nil {
301301
log.Fatal(err)
302302
}
303-
if res.Res != nil {
303+
if res.Object != nil {
304304
// handle response
305305
}
306306
}
@@ -449,7 +449,7 @@ func main() {
449449
if err != nil {
450450
log.Fatal(err)
451451
}
452-
if res.Res != nil {
452+
if res.Object != nil {
453453
// handle response
454454
}
455455
}

sdks/outpost-go/RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,14 @@ Based on:
5858
### Generated
5959
- [go v0.4.0] sdks/outpost-go
6060
### Releases
61-
- [Go v0.4.0] https://github.com/hookdeck/outpost/releases/tag/sdks/outpost-go/v0.4.0 - sdks/outpost-go
61+
- [Go v0.4.0] https://github.com/hookdeck/outpost/releases/tag/sdks/outpost-go/v0.4.0 - sdks/outpost-go
62+
63+
## 2026-01-16 09:43:41
64+
### Changes
65+
Based on:
66+
- OpenAPI Doc
67+
- Speakeasy CLI 1.686.0 (2.796.1) https://github.com/speakeasy-api/speakeasy
68+
### Generated
69+
- [go v0.5.0] sdks/outpost-go
70+
### Releases
71+
- [Go v0.5.0] https://github.com/hookdeck/outpost/releases/tag/sdks/outpost-go/v0.5.0 - sdks/outpost-go

sdks/outpost-go/USAGE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ func main() {
1717
if err != nil {
1818
log.Fatal(err)
1919
}
20-
if res.Res != nil {
20+
if res.Object != nil {
2121
// handle response
2222
}
2323
}

0 commit comments

Comments
 (0)