Skip to content

Commit 84dfdd6

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.653.0
1 parent 05b5eaf commit 84dfdd6

File tree

18 files changed

+303
-114
lines changed

18 files changed

+303
-114
lines changed

.devcontainer/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11

2+
<div align="center">
3+
<a href="https://codespaces.new/QuePlatform/GoSDK.git/tree/main"><img src="https://github.com/codespaces/badge.svg" /></a>
4+
</div>
5+
<br>
6+
27
> **Remember to shutdown a GitHub Codespace when it is not in use!**
38
49
# Dev Containers Quick Start

.speakeasy/gen.lock

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,30 @@ id: ddf9e346-bb43-4ccc-aaae-95e233eb6f3f
33
management:
44
docChecksum: 5be1033d3fcd17c8b64f613200c1ef01
55
docVersion: 1.0.0
6-
speakeasyVersion: 1.621.1
7-
generationVersion: 2.708.2
8-
releaseVersion: 0.0.2
9-
configChecksum: 0f69a66bb8df56df0a1727293f910ef9
6+
speakeasyVersion: 1.653.0
7+
generationVersion: 2.748.0
8+
releaseVersion: 0.1.0
9+
configChecksum: e0ae07939cdd4097e80a6520265f9774
10+
repoURL: https://github.com/QuePlatform/GoSDK.git
11+
installationURL: https://github.com/QuePlatform/GoSDK
1012
features:
1113
go:
1214
additionalDependencies: 0.1.0
1315
constsAndDefaults: 0.1.12
14-
core: 3.11.0
16+
core: 3.13.1
1517
defaultEnabledRetries: 0.2.0
1618
devContainers: 2.90.0
1719
envVarSecurityUsage: 0.3.2
1820
globalSecurity: 2.82.12
1921
globalSecurityCallbacks: 0.1.0
2022
globalSecurityFlattening: 0.1.0
21-
globalServerURLs: 2.82.3
23+
globalServerURLs: 2.83.0
2224
intellisenseMarkdownSupport: 0.1.0
23-
nullables: 0.2.0
25+
nullables: 0.2.1
2426
responseFormat: 0.1.2
2527
retries: 2.84.2
2628
sdkHooks: 0.2.0
27-
unions: 2.85.14
29+
unions: 2.87.0
2830
generatedFiles:
2931
- .devcontainer/README.md
3032
- .devcontainer/devcontainer.json
@@ -122,7 +124,6 @@ generatedFiles:
122124
- types/bigint.go
123125
- types/date.go
124126
- types/datetime.go
125-
- types/decimal.go
126127
- types/pointers.go
127128
- utility.go
128129
examples:

.speakeasy/gen.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,15 @@ generation:
2222
hoistGlobalSecurity: true
2323
inferSSEOverload: true
2424
sdkHooksConfigAccess: true
25+
schemas:
26+
allOfMergeStrategy: shallowMerge
27+
requestBodyFieldName: ""
2528
tests:
2629
generateTests: false
2730
generateNewTests: true
2831
skipResponseBodyAssertions: false
2932
go:
30-
version: 0.0.2
33+
version: 0.1.0
3134
additionalDependencies: {}
3235
baseErrorName: QueError
3336
clientServerStatusCodesAsErrors: true
@@ -42,6 +45,7 @@ go:
4245
operations: models/operations
4346
shared: models/components
4447
webhooks: models/webhooks
48+
includeEmptyObjects: false
4549
inputModelSuffix: input
4650
maxMethodParams: 4
4751
methodArguments: require-security-and-request
@@ -51,3 +55,4 @@ go:
5155
respectRequiredFields: false
5256
responseFormat: envelope-http
5357
sdkPackageName: Que
58+
unionDeserializationStrategy: left-to-right

.speakeasy/workflow.lock

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
1-
speakeasyVersion: 1.621.1
1+
speakeasyVersion: 1.653.0
22
sources:
33
Que API:
44
sourceNamespace: que-api
5-
sourceRevisionDigest: sha256:80df4c9999cdc7c286e30ee79425ec574be16294d3b8b890ffba773dce254dc8
6-
sourceBlobDigest: sha256:022738a40948c2fe68b0f5fa760cf5197b333d62458755a7aefcdbb8b02030e3
5+
sourceRevisionDigest: sha256:1d1dac444fb41dee5adefa3de97825285c766cfe0fc1c668895da3d1a71aeac2
6+
sourceBlobDigest: sha256:140578c495d7673e904df7fc110e6485e2382635f23ed86315ddfffdcac9dc7c
77
tags:
88
- latest
9+
- speakeasy-sdk-regen-1759801402
910
- 1.0.0
1011
targets:
1112
que:
1213
source: Que API
1314
sourceNamespace: que-api
14-
sourceRevisionDigest: sha256:80df4c9999cdc7c286e30ee79425ec574be16294d3b8b890ffba773dce254dc8
15-
sourceBlobDigest: sha256:022738a40948c2fe68b0f5fa760cf5197b333d62458755a7aefcdbb8b02030e3
15+
sourceRevisionDigest: sha256:1d1dac444fb41dee5adefa3de97825285c766cfe0fc1c668895da3d1a71aeac2
16+
sourceBlobDigest: sha256:140578c495d7673e904df7fc110e6485e2382635f23ed86315ddfffdcac9dc7c
1617
codeSamplesNamespace: que-api-go-code-samples
17-
codeSamplesRevisionDigest: sha256:f9ee0897034fac1730add87060d92762041043f0d4943dab3ce5d2d2cefd1dff
18+
codeSamplesRevisionDigest: sha256:2b57aad98d03ba4da44a8a7bd4a0f76784cce9dc51e7595793f0f418a246d318
1819
workflow:
1920
workflowVersion: 1.0.0
2021
speakeasyVersion: latest

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,8 @@ func main() {
395395
ctx := context.Background()
396396

397397
s := que.New(
398-
que.WithEnvironment("<value>"),
398+
que.WithServerIndex(0),
399+
que.WithEnvironment("dev-api"),
399400
que.WithSecurity(os.Getenv("QUE_API_KEY_AUTH")),
400401
)
401402

RELEASES.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
3+
## 2025-11-11 01:53:41
4+
### Changes
5+
Based on:
6+
- OpenAPI Doc
7+
- Speakeasy CLI 1.653.0 (2.748.0) https://github.com/speakeasy-api/speakeasy
8+
### Generated
9+
- [go v0.1.0] .
10+
### Releases
11+
- [Go v0.1.0] https://github.com/QuePlatform/GoSDK/releases/tag/v0.1.0 - .

go.mod

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@ module github.com/QuePlatform/GoSDK
22

33
go 1.22
44

5-
require (
6-
github.com/ericlagergren/decimal v0.0.0-20221120152707-495c53812d05
7-
github.com/stretchr/testify v1.11.1
8-
)
5+
require github.com/stretchr/testify v1.11.1
96

107
require (
118
github.com/davecgh/go-spew v1.1.1 // indirect

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
22
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
3-
github.com/ericlagergren/decimal v0.0.0-20221120152707-495c53812d05 h1:S92OBrGuLLZsyM5ybUzgc/mPjIYk2AZqufieooe98uw=
4-
github.com/ericlagergren/decimal v0.0.0-20221120152707-495c53812d05/go.mod h1:M9R1FoZ3y//hwwnJtO51ypFGwm8ZfpxPT/ZLtO1mcgQ=
53
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
64
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
75
github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=

internal/utils/form.go

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ import (
1010
"strings"
1111
"time"
1212

13-
"github.com/ericlagergren/decimal"
14-
1513
"github.com/QuePlatform/GoSDK/optionalnullable"
1614
"github.com/QuePlatform/GoSDK/types"
1715
)
@@ -42,8 +40,6 @@ func populateForm(paramName string, explode bool, objType reflect.Type, objValue
4240
formValues.Add(paramName, valToString(objValue.Interface()))
4341
case big.Int:
4442
formValues.Add(paramName, valToString(objValue.Interface()))
45-
case decimal.Big:
46-
formValues.Add(paramName, valToString(objValue.Interface()))
4743
default:
4844
var items []string
4945

@@ -65,7 +61,13 @@ func populateForm(paramName string, explode bool, objType reflect.Type, objValue
6561
}
6662

6763
if explode {
68-
formValues.Add(fieldName, valToString(valType.Interface()))
64+
if valType.Kind() == reflect.Slice || valType.Kind() == reflect.Array {
65+
for i := 0; i < valType.Len(); i++ {
66+
formValues.Add(fieldName, valToString(valType.Index(i).Interface()))
67+
}
68+
} else {
69+
formValues.Add(fieldName, valToString(valType.Interface()))
70+
}
6971
} else {
7072
items = append(items, fmt.Sprintf("%s%s%s", fieldName, delimiter, valToString(valType.Interface())))
7173
}

0 commit comments

Comments
 (0)