From c1c2f3337df991d5c251cbf4192fc3db8d8acefa Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 17 Jul 2023 10:41:15 -0700 Subject: [PATCH] chore: speakeasy sdk regeneration - Generate (#8) * ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.61.0 * fix: compilation failure --------- Co-authored-by: speakeasybot Co-authored-by: Sagar Batchu --- RELEASES.md | 10 +++++++++- gen.yaml | 2 +- hookdeck.go | 2 +- pkg/models/operations/createissuetrigger.go | 2 +- pkg/models/operations/upsertissuetrigger.go | 2 +- 5 files changed, 13 insertions(+), 5 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index fb5b4e7..0d7bde4 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -78,4 +78,12 @@ Based on: - OpenAPI Doc 1.0.0 - Speakeasy CLI 1.61.0 (2.70.0) https://github.com/speakeasy-api/speakeasy ### Releases -- [Go v1.4.1] https://github.com/speakeasy-sdks/hookdeck-go/releases/tag/v1.4.1 - . \ No newline at end of file +- [Go v1.4.1] https://github.com/speakeasy-sdks/hookdeck-go/releases/tag/v1.4.1 - . + +## 2023-07-17 17:23:32 +### Changes +Based on: +- OpenAPI Doc 1.0.0 +- Speakeasy CLI 1.61.0 (2.70.0) https://github.com/speakeasy-api/speakeasy +### Releases +- [Go v1.4.2] https://github.com/speakeasy-sdks/hookdeck-go/releases/tag/v1.4.2 - . \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index 7a73a36..90d03a4 100644 --- a/gen.yaml +++ b/gen.yaml @@ -13,6 +13,6 @@ generation: singleTagPerOp: false tagNamespacingDisabled: false go: - version: 1.4.1 + version: 1.4.2 maxMethodParams: 5 packageName: github.com/speakeasy-sdks/hookdeck-go diff --git a/hookdeck.go b/hookdeck.go index 8722718..7a3bd4d 100755 --- a/hookdeck.go +++ b/hookdeck.go @@ -223,7 +223,7 @@ func New(opts ...SDKOption) *Hookdeck { sdkConfiguration: sdkConfiguration{ Language: "go", OpenAPIDocVersion: "1.0.0", - SDKVersion: "1.4.1", + SDKVersion: "1.4.2", GenVersion: "2.70.0", ServerDefaults: []map[string]string{ { diff --git a/pkg/models/operations/createissuetrigger.go b/pkg/models/operations/createissuetrigger.go index 02d5a15..7838dd8 100755 --- a/pkg/models/operations/createissuetrigger.go +++ b/pkg/models/operations/createissuetrigger.go @@ -41,7 +41,7 @@ func (o *CreateIssueTriggerRequestBody) GetName() *string { func (o *CreateIssueTriggerRequestBody) GetType() shared.IssueType { if o == nil { - return IssueType("") + return shared.IssueType("") } return o.Type } diff --git a/pkg/models/operations/upsertissuetrigger.go b/pkg/models/operations/upsertissuetrigger.go index 36f537e..4f26d2b 100755 --- a/pkg/models/operations/upsertissuetrigger.go +++ b/pkg/models/operations/upsertissuetrigger.go @@ -41,7 +41,7 @@ func (o *UpsertIssueTriggerRequestBody) GetName() string { func (o *UpsertIssueTriggerRequestBody) GetType() shared.IssueType { if o == nil { - return IssueType("") + return shared.IssueType("") } return o.Type }