diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index bea1751..6618dc0 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -4,17 +4,17 @@ management: docChecksum: 9ab4ae9ee20626ac9759af48d9f35d90 docVersion: 1.0.0 speakeasyVersion: internal - generationVersion: 2.248.1 - releaseVersion: 3.0.0 - configChecksum: 8be66a47f20ccc3c03fca397ddaced38 + generationVersion: 2.250.2 + releaseVersion: 3.0.1 + configChecksum: 1f674ce5baa63f60f99cbcc65b157ac8 repoURL: https://github.com/speakeasy-sdks/northflank-go.git repoSubDirectory: . installationURL: https://github.com/speakeasy-sdks/northflank-go published: true features: go: - constsAndDefaults: 0.1.2 - core: 3.3.1 + constsAndDefaults: 0.1.3 + core: 3.3.2 flattening: 2.81.1 globalSecurity: 2.82.6 globalServerURLs: 2.82.1 diff --git a/RELEASES.md b/RELEASES.md index 37fbd39..876ace7 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -254,4 +254,14 @@ Based on: ### Generated - [go v3.0.0] . ### Releases -- [Go v3.0.0] https://github.com/speakeasy-sdks/northflank-go/releases/tag/v3.0.0 - . \ No newline at end of file +- [Go v3.0.0] https://github.com/speakeasy-sdks/northflank-go/releases/tag/v3.0.0 - . + +## 2024-02-06 01:00:12 +### Changes +Based on: +- OpenAPI Doc 1.0.0 +- Speakeasy CLI 1.167.3 (2.250.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [go v3.0.1] . +### Releases +- [Go v3.0.1] https://github.com/speakeasy-sdks/northflank-go/releases/tag/v3.0.1 - . \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index a792eda..513bcd7 100644 --- a/gen.yaml +++ b/gen.yaml @@ -7,7 +7,7 @@ generation: nameResolutionDec2023: false parameterOrderingFeb2024: false go: - version: 3.0.0 + version: 3.0.1 clientServerStatusCodesAsErrors: true flattenGlobalSecurity: true imports: diff --git a/northflank.go b/northflank.go index 8ae1500..f4bc00f 100644 --- a/northflank.go +++ b/northflank.go @@ -145,9 +145,9 @@ func New(opts ...SDKOption) *Northflank { sdkConfiguration: sdkConfiguration{ Language: "go", OpenAPIDocVersion: "1.0.0", - SDKVersion: "3.0.0", - GenVersion: "2.248.1", - UserAgent: "speakeasy-sdk/go 3.0.0 2.248.1 1.0.0 github.com/speakeasy-sdks/northflank-go", + SDKVersion: "3.0.1", + GenVersion: "2.250.2", + UserAgent: "speakeasy-sdk/go 3.0.1 2.250.2 1.0.0 github.com/speakeasy-sdks/northflank-go", }, } for _, opt := range opts { diff --git a/pkg/utils/json.go b/pkg/utils/json.go index 26d0532..eed7bac 100644 --- a/pkg/utils/json.go +++ b/pkg/utils/json.go @@ -358,7 +358,7 @@ func handleDefaultConstValue(tagValue string, val interface{}, tag reflect.Struc return []byte(fmt.Sprintf(`"%s"`, tagValue)) default: if typ.Kind() == reflect.String { - return []byte(fmt.Sprintf(`"%s"`, tagValue)) + return []byte(fmt.Sprintf("%q", tagValue)) } }