Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.147.0
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Jan 19, 2024
1 parent 05f08a5 commit 944a7ab
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 12 deletions.
9 changes: 4 additions & 5 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ management:
docChecksum: 7998dbff43d13b24f5ce8289e558ad2e
docVersion: 1.0.0
speakeasyVersion: internal
generationVersion: 2.234.3
releaseVersion: 0.28.2
configChecksum: 1c5b6d007a486bb26c1a4c16cf572221
generationVersion: 2.237.2
releaseVersion: 0.28.3
configChecksum: c655f018b0943d92cb8bb1938f77995d
repoURL: https://github.com/speakeasy-sdks/hightouch-go-sdk.git
repoSubDirectory: .
installationURL: https://github.com/speakeasy-sdks/hightouch-go-sdk
Expand All @@ -15,14 +15,13 @@ features:
go:
constsAndDefaults: 0.1.2
core: 3.3.1
globalSecurity: 2.82.3
globalSecurity: 2.82.4
globalServerURLs: 2.82.1
unions: 2.85.2
generatedFiles:
- hightouch.go
- go.mod
- go.sum
- tests/helpers.go
- pkg/models/sdkerrors/sdkerror.go
- pkg/types/bigint.go
- pkg/types/date.go
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -460,4 +460,14 @@ Based on:
### Generated
- [go v0.28.2] .
### Releases
- [Go v0.28.2] https://github.com/speakeasy-sdks/hightouch-go-sdk/releases/tag/v0.28.2 - .
- [Go v0.28.2] https://github.com/speakeasy-sdks/hightouch-go-sdk/releases/tag/v0.28.2 - .

## 2024-01-19 00:41:18
### Changes
Based on:
- OpenAPI Doc 1.0.0 https://api.hightouch.io/api/swagger.json
- Speakeasy CLI 1.147.0 (2.237.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v0.28.3] .
### Releases
- [Go v0.28.3] https://github.com/speakeasy-sdks/hightouch-go-sdk/releases/tag/v0.28.3 - .
2 changes: 1 addition & 1 deletion gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ generation:
fixes:
nameResolutionDec2023: false
go:
version: 0.28.2
version: 0.28.3
clientServerStatusCodesAsErrors: true
flattenGlobalSecurity: true
imports:
Expand Down
6 changes: 3 additions & 3 deletions hightouch.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,9 @@ func New(opts ...SDKOption) *Hightouch {
sdkConfiguration: sdkConfiguration{
Language: "go",
OpenAPIDocVersion: "1.0.0",
SDKVersion: "0.28.2",
GenVersion: "2.234.3",
UserAgent: "speakeasy-sdk/go 0.28.2 2.234.3 1.0.0 github.com/speakeasy-sdks/hightouch-go-sdk",
SDKVersion: "0.28.3",
GenVersion: "2.237.2",
UserAgent: "speakeasy-sdk/go 0.28.3 2.237.2 1.0.0 github.com/speakeasy-sdks/hightouch-go-sdk",
},
}
for _, opt := range opts {
Expand Down
4 changes: 2 additions & 2 deletions pkg/utils/security.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,9 @@ func parseSecuritySchemeValue(client *securityConfig, schemeTag *securityTag, se
panic("not supported")
}
case "openIdConnect":
client.headers[secTag.Name] = valToString(val)
client.headers[secTag.Name] = prefixBearer(valToString(val))
case "oauth2":
client.headers[secTag.Name] = valToString(val)
client.headers[secTag.Name] = prefixBearer(valToString(val))
case "http":
switch schemeTag.SubType {
case "bearer":
Expand Down

0 comments on commit 944a7ab

Please sign in to comment.