Skip to content

Commit

Permalink
Merge pull request #36 from speakeasy-api/speakeasy-sdk-regen-1722592440
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate 3.11.0
  • Loading branch information
ryan-timothy-albert authored Aug 5, 2024
2 parents 1cf444a + b372cc4 commit e682e14
Show file tree
Hide file tree
Showing 35 changed files with 728 additions and 982 deletions.
22 changes: 11 additions & 11 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 2858c6d9-f946-4185-ae68-3b8e708830fb
management:
docChecksum: 312822a7ccdbf7c77dbbfeef49fb2053
docChecksum: 7e5374ccd8317cf07089c151d486221b
docVersion: 0.4.0 .
speakeasyVersion: 1.346.2
generationVersion: 2.379.5
releaseVersion: 3.10.2
configChecksum: 2f6f7b5b10b10e4a046eb287ae0f1248
speakeasyVersion: 1.352.2
generationVersion: 2.385.2
releaseVersion: 3.11.0
configChecksum: deb17bc05522ccd26af18d7e96436b48
repoURL: https://github.com/speakeasy-api/speakeasy-client-sdk-go.git
repoSubDirectory: .
installationURL: https://github.com/speakeasy-api/speakeasy-client-sdk-go
Expand All @@ -15,20 +15,21 @@ features:
go:
acceptHeaders: 2.81.2
additionalDependencies: 0.1.0
core: 3.5.2
core: 3.5.3
defaultEnabledRetries: 0.2.0
deprecations: 2.81.1
devContainers: 2.90.0
downloadStreams: 0.1.1
envVarSecurityUsage: 0.2.0
envVarSecurityUsage: 0.2.2
examples: 2.81.3
globalSecurity: 2.82.9
globalSecurity: 2.82.10
globalSecurityCallbacks: 0.1.0
globalServerURLs: 2.82.2
globals: 2.82.2
inputOutputModels: 2.83.0
intellisenseMarkdownSupport: 0.1.0
nullables: 0.1.0
openEnums: 0.1.0
responseFormat: 0.1.2
retries: 2.83.0
sdkHooks: 0.1.0
Expand Down Expand Up @@ -164,6 +165,7 @@ generatedFiles:
- /pkg/models/shared/preflighttoken.go
- /pkg/models/shared/preflightrequest.go
- /pkg/models/shared/accesstoken.go
- /pkg/models/shared/accounttype.go
- /pkg/models/shared/featureflag.go
- /pkg/models/shared/user.go
- /pkg/models/shared/accessdetails.go
Expand Down Expand Up @@ -365,14 +367,13 @@ generatedFiles:
- docs/pkg/models/shared/preflightrequest.md
- docs/pkg/models/shared/claims.md
- docs/pkg/models/shared/accesstokenuser.md
- docs/pkg/models/shared/accesstokenaccounttype.md
- docs/pkg/models/shared/workspaces.md
- docs/pkg/models/shared/accesstoken.md
- docs/pkg/models/shared/accounttype.md
- docs/pkg/models/shared/featureflag.md
- docs/pkg/models/shared/user.md
- docs/pkg/models/shared/level.md
- docs/pkg/models/shared/accessdetails.md
- docs/pkg/models/shared/accounttype.md
- docs/pkg/models/shared/apikeydetails.md
- docs/pkg/models/shared/unboundedrequest.md
- docs/pkg/models/shared/boundedrequest.md
Expand All @@ -390,7 +391,6 @@ generatedFiles:
- docs/pkg/models/shared/githubmissingpublishingsecretsresponse.md
- docs/pkg/models/shared/githubstorepublishingsecretsrequest.md
- docs/pkg/models/shared/githubtriggeractionrequest.md
- docs/pkg/models/shared/organizationaccounttype.md
- docs/pkg/models/shared/organization.md
- docs/pkg/models/shared/organizationusageresponse.md
- docs/pkg/models/shared/organizationusage.md
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
speakeasyVersion: 1.346.2
speakeasyVersion: 1.352.2
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:92a5df83ac25ccf75af8eb140bb9dbf4ee75920091c61b5633c634a4644f302e
sourceBlobDigest: sha256:00f05aef2e4f56e7a17be52e948d9ad24818a63a294f481098fe067cd38a6c97
sourceRevisionDigest: sha256:5fd618baed640db62cd3eb8e9793d944716a23097456d2efe67ece8060903760
sourceBlobDigest: sha256:a13dec37f775ad0897ce09b22fad3b94306fd7d30f0ce612984a28c0e4338be9
tags:
- latest
- main
targets:
speakeasy-client-sdk-go:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:92a5df83ac25ccf75af8eb140bb9dbf4ee75920091c61b5633c634a4644f302e
sourceBlobDigest: sha256:00f05aef2e4f56e7a17be52e948d9ad24818a63a294f481098fe067cd38a6c97
sourceRevisionDigest: sha256:5fd618baed640db62cd3eb8e9793d944716a23097456d2efe67ece8060903760
sourceBlobDigest: sha256:a13dec37f775ad0897ce09b22fad3b94306fd7d30f0ce612984a28c0e4338be9
codeSamplesNamespace: code-samples-go-speakeasy-client-sdk-go
codeSamplesRevisionDigest: sha256:dbfa20d072c636c9a971b22c3d3e24c07edd2b5d53fd4dd1da78ac1a767f2a14
codeSamplesRevisionDigest: sha256:4200e405b0cd6b8893427957887631de4922bd36011900d0bf14f36324a30468
outLocation: /github/workspace/repo
workflow:
workflowVersion: 1.0.0
Expand Down
24 changes: 8 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,12 @@ import (
"github.com/speakeasy-api/speakeasy-client-sdk-go/v3/pkg/models/operations"
"github.com/speakeasy-api/speakeasy-client-sdk-go/v3/pkg/models/shared"
"log"
"os"
)

func main() {
s := speakeasyclientsdkgo.New(
speakeasyclientsdkgo.WithSecurity(shared.Security{
APIKey: speakeasyclientsdkgo.String(os.Getenv("API_KEY")),
APIKey: speakeasyclientsdkgo.String("<YOUR_API_KEY_HERE>"),
}),
)
request := operations.GetApisRequest{}
Expand Down Expand Up @@ -199,13 +198,12 @@ import (
"github.com/speakeasy-api/speakeasy-client-sdk-go/v3/pkg/models/sdkerrors"
"github.com/speakeasy-api/speakeasy-client-sdk-go/v3/pkg/models/shared"
"log"
"os"
)

func main() {
s := speakeasyclientsdkgo.New(
speakeasyclientsdkgo.WithSecurity(shared.Security{
APIKey: speakeasyclientsdkgo.String(os.Getenv("API_KEY")),
APIKey: speakeasyclientsdkgo.String("<YOUR_API_KEY_HERE>"),
}),
)
request := operations.GetWorkspaceEventsByTargetRequest{
Expand Down Expand Up @@ -256,14 +254,13 @@ import (
"github.com/speakeasy-api/speakeasy-client-sdk-go/v3/pkg/models/operations"
"github.com/speakeasy-api/speakeasy-client-sdk-go/v3/pkg/models/shared"
"log"
"os"
)

func main() {
s := speakeasyclientsdkgo.New(
speakeasyclientsdkgo.WithServer("prod"),
speakeasyclientsdkgo.WithSecurity(shared.Security{
APIKey: speakeasyclientsdkgo.String(os.Getenv("API_KEY")),
APIKey: speakeasyclientsdkgo.String("<YOUR_API_KEY_HERE>"),
}),
)
request := operations.DeleteAPIRequest{
Expand Down Expand Up @@ -295,14 +292,13 @@ import (
"github.com/speakeasy-api/speakeasy-client-sdk-go/v3/pkg/models/operations"
"github.com/speakeasy-api/speakeasy-client-sdk-go/v3/pkg/models/shared"
"log"
"os"
)

func main() {
s := speakeasyclientsdkgo.New(
speakeasyclientsdkgo.WithServerURL("https://api.prod.speakeasyapi.dev"),
speakeasyclientsdkgo.WithSecurity(shared.Security{
APIKey: speakeasyclientsdkgo.String(os.Getenv("API_KEY")),
APIKey: speakeasyclientsdkgo.String("<YOUR_API_KEY_HERE>"),
}),
)
request := operations.DeleteAPIRequest{
Expand Down Expand Up @@ -377,13 +373,12 @@ import (
"github.com/speakeasy-api/speakeasy-client-sdk-go/v3/pkg/models/operations"
"github.com/speakeasy-api/speakeasy-client-sdk-go/v3/pkg/models/shared"
"log"
"os"
)

func main() {
s := speakeasyclientsdkgo.New(
speakeasyclientsdkgo.WithSecurity(shared.Security{
APIKey: speakeasyclientsdkgo.String(os.Getenv("API_KEY")),
APIKey: speakeasyclientsdkgo.String("<YOUR_API_KEY_HERE>"),
}),
)
request := operations.DeleteAPIRequest{
Expand Down Expand Up @@ -431,13 +426,12 @@ import (
"github.com/speakeasy-api/speakeasy-client-sdk-go/v3/pkg/models/operations"
"github.com/speakeasy-api/speakeasy-client-sdk-go/v3/pkg/models/shared"
"log"
"os"
)

func main() {
s := speakeasyclientsdkgo.New(
speakeasyclientsdkgo.WithSecurity(shared.Security{
APIKey: speakeasyclientsdkgo.String(os.Getenv("API_KEY")),
APIKey: speakeasyclientsdkgo.String("<YOUR_API_KEY_HERE>"),
}),
)
request := operations.GetWorkspaceRequest{}
Expand Down Expand Up @@ -470,14 +464,13 @@ import (
"github.com/speakeasy-api/speakeasy-client-sdk-go/v3/pkg/models/shared"
"github.com/speakeasy-api/speakeasy-client-sdk-go/v3/pkg/retry"
"log"
"os"
"pkg/models/operations"
)

func main() {
s := speakeasyclientsdkgo.New(
speakeasyclientsdkgo.WithSecurity(shared.Security{
APIKey: speakeasyclientsdkgo.String(os.Getenv("API_KEY")),
APIKey: speakeasyclientsdkgo.String("<YOUR_API_KEY_HERE>"),
}),
)
request := operations.DeleteAPIRequest{
Expand Down Expand Up @@ -517,7 +510,6 @@ import (
"github.com/speakeasy-api/speakeasy-client-sdk-go/v3/pkg/models/shared"
"github.com/speakeasy-api/speakeasy-client-sdk-go/v3/pkg/retry"
"log"
"os"
)

func main() {
Expand All @@ -534,7 +526,7 @@ func main() {
RetryConnectionErrors: false,
}),
speakeasyclientsdkgo.WithSecurity(shared.Security{
APIKey: speakeasyclientsdkgo.String(os.Getenv("API_KEY")),
APIKey: speakeasyclientsdkgo.String("<YOUR_API_KEY_HERE>"),
}),
)
request := operations.DeleteAPIRequest{
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -1116,4 +1116,14 @@ Based on:
### Generated
- [go v3.10.2] .
### Releases
- [Go v3.10.2] https://github.com/speakeasy-api/speakeasy-client-sdk-go/releases/tag/v3.10.2 - .
- [Go v3.10.2] https://github.com/speakeasy-api/speakeasy-client-sdk-go/releases/tag/v3.10.2 - .

## 2024-08-05 19:52:23
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.352.2 (2.385.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v3.11.0] .
### Releases
- [Go v3.11.0] https://github.com/speakeasy-api/speakeasy-client-sdk-go/releases/tag/v3.11.0 - .
3 changes: 1 addition & 2 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@ import (
"github.com/speakeasy-api/speakeasy-client-sdk-go/v3/pkg/models/operations"
"github.com/speakeasy-api/speakeasy-client-sdk-go/v3/pkg/models/shared"
"log"
"os"
)

func main() {
s := speakeasyclientsdkgo.New(
speakeasyclientsdkgo.WithSecurity(shared.Security{
APIKey: speakeasyclientsdkgo.String(os.Getenv("API_KEY")),
APIKey: speakeasyclientsdkgo.String("<YOUR_API_KEY_HERE>"),
}),
)
request := operations.GetApisRequest{}
Expand Down
Loading

0 comments on commit e682e14

Please sign in to comment.