Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc 0.1.0, Speakeasy CLI 1.164.1
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Feb 2, 2024
1 parent e260f5a commit c6426bf
Show file tree
Hide file tree
Showing 18 changed files with 57 additions and 46 deletions.
6 changes: 3 additions & 3 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ management:
docChecksum: b3cde103f3a8cd2dc7100b66267790bb
docVersion: 0.1.0
speakeasyVersion: internal
generationVersion: 2.237.2
releaseVersion: 2.3.1
configChecksum: 24d01147638d32269bfad01f9142f3ea
generationVersion: 2.248.1
releaseVersion: 3.0.0
configChecksum: 7852f1944a4dbb80fdf269cc5926a8cb
repoURL: https://github.com/speakeasy-sdks/test-go.git
repoSubDirectory: .
installationURL: https://github.com/speakeasy-sdks/test-go
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ package main

import (
"context"
testgo "github.com/speakeasy-sdks/test-go/v2"
"github.com/speakeasy-sdks/test-go/v2/pkg/models/shared"
testgo "github.com/speakeasy-sdks/test-go/v3"
"github.com/speakeasy-sdks/test-go/v3/pkg/models/shared"
"log"
)

Expand Down Expand Up @@ -91,9 +91,9 @@ package main
import (
"context"
"errors"
testgo "github.com/speakeasy-sdks/test-go/v2"
"github.com/speakeasy-sdks/test-go/v2/pkg/models/sdkerrors"
"github.com/speakeasy-sdks/test-go/v2/pkg/models/shared"
testgo "github.com/speakeasy-sdks/test-go/v3"
"github.com/speakeasy-sdks/test-go/v3/pkg/models/sdkerrors"
"github.com/speakeasy-sdks/test-go/v3/pkg/models/shared"
"log"
)

Expand Down Expand Up @@ -142,8 +142,8 @@ package main

import (
"context"
testgo "github.com/speakeasy-sdks/test-go/v2"
"github.com/speakeasy-sdks/test-go/v2/pkg/models/shared"
testgo "github.com/speakeasy-sdks/test-go/v3"
"github.com/speakeasy-sdks/test-go/v3/pkg/models/shared"
"log"
)

Expand Down Expand Up @@ -181,8 +181,8 @@ package main

import (
"context"
testgo "github.com/speakeasy-sdks/test-go/v2"
"github.com/speakeasy-sdks/test-go/v2/pkg/models/shared"
testgo "github.com/speakeasy-sdks/test-go/v3"
"github.com/speakeasy-sdks/test-go/v3/pkg/models/shared"
"log"
)

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,4 +166,14 @@ Based on:
### Generated
- [go v2.3.1] .
### Releases
- [Go v2.3.1] https://github.com/speakeasy-sdks/test-go/releases/tag/v2.3.1 - .
- [Go v2.3.1] https://github.com/speakeasy-sdks/test-go/releases/tag/v2.3.1 - .

## 2024-02-02 00:49:25
### Changes
Based on:
- OpenAPI Doc 0.1.0
- Speakeasy CLI 1.164.1 (2.248.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v3.0.0] .
### Releases
- [Go v3.0.0] https://github.com/speakeasy-sdks/test-go/releases/tag/v3.0.0 - .
4 changes: 2 additions & 2 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ package main

import (
"context"
testgo "github.com/speakeasy-sdks/test-go/v2"
"github.com/speakeasy-sdks/test-go/v2/pkg/models/shared"
testgo "github.com/speakeasy-sdks/test-go/v3"
"github.com/speakeasy-sdks/test-go/v3/pkg/models/shared"
"log"
)

Expand Down
14 changes: 7 additions & 7 deletions acmego.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (
"bytes"
"context"
"fmt"
"github.com/speakeasy-sdks/test-go/v2/pkg/models/operations"
"github.com/speakeasy-sdks/test-go/v2/pkg/models/sdkerrors"
"github.com/speakeasy-sdks/test-go/v2/pkg/models/shared"
"github.com/speakeasy-sdks/test-go/v2/pkg/utils"
"github.com/speakeasy-sdks/test-go/v3/pkg/models/operations"
"github.com/speakeasy-sdks/test-go/v3/pkg/models/sdkerrors"
"github.com/speakeasy-sdks/test-go/v3/pkg/models/shared"
"github.com/speakeasy-sdks/test-go/v3/pkg/utils"
"io"
"net/http"
"strings"
Expand Down Expand Up @@ -121,9 +121,9 @@ func New(opts ...SDKOption) *AcmeGo {
sdkConfiguration: sdkConfiguration{
Language: "go",
OpenAPIDocVersion: "0.1.0",
SDKVersion: "2.3.1",
GenVersion: "2.237.2",
UserAgent: "speakeasy-sdk/go 2.3.1 2.237.2 0.1.0 github.com/speakeasy-sdks/test-go",
SDKVersion: "3.0.0",
GenVersion: "2.248.1",
UserAgent: "speakeasy-sdk/go 3.0.0 2.248.1 0.1.0 github.com/speakeasy-sdks/test-go",
},
}
for _, opt := range opts {
Expand Down
24 changes: 12 additions & 12 deletions docs/sdks/acmego/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ Create user
package main

import(
testgo "github.com/speakeasy-sdks/test-go/v2"
testgo "github.com/speakeasy-sdks/test-go/v3"
"context"
"github.com/speakeasy-sdks/test-go/v2/pkg/models/shared"
"github.com/speakeasy-sdks/test-go/v3/pkg/models/shared"
"log"
)

Expand Down Expand Up @@ -77,9 +77,9 @@ Delete a user by ID
package main

import(
testgo "github.com/speakeasy-sdks/test-go/v2"
testgo "github.com/speakeasy-sdks/test-go/v3"
"context"
"github.com/speakeasy-sdks/test-go/v2/pkg/models/operations"
"github.com/speakeasy-sdks/test-go/v3/pkg/models/operations"
"log"
)

Expand Down Expand Up @@ -125,7 +125,7 @@ Healthcheck
package main

import(
testgo "github.com/speakeasy-sdks/test-go/v2"
testgo "github.com/speakeasy-sdks/test-go/v3"
"context"
"log"
"net/http"
Expand Down Expand Up @@ -170,9 +170,9 @@ Get a user by ID
package main

import(
testgo "github.com/speakeasy-sdks/test-go/v2"
testgo "github.com/speakeasy-sdks/test-go/v3"
"context"
"github.com/speakeasy-sdks/test-go/v2/pkg/models/operations"
"github.com/speakeasy-sdks/test-go/v3/pkg/models/operations"
"log"
)

Expand Down Expand Up @@ -218,9 +218,9 @@ Search users
package main

import(
testgo "github.com/speakeasy-sdks/test-go/v2"
testgo "github.com/speakeasy-sdks/test-go/v3"
"context"
"github.com/speakeasy-sdks/test-go/v2/pkg/models/shared"
"github.com/speakeasy-sdks/test-go/v3/pkg/models/shared"
"log"
)

Expand Down Expand Up @@ -272,10 +272,10 @@ func main() {
package main

import(
testgo "github.com/speakeasy-sdks/test-go/v2"
testgo "github.com/speakeasy-sdks/test-go/v3"
"context"
"github.com/speakeasy-sdks/test-go/v2/pkg/models/shared"
"github.com/speakeasy-sdks/test-go/v2/pkg/models/operations"
"github.com/speakeasy-sdks/test-go/v3/pkg/models/shared"
"github.com/speakeasy-sdks/test-go/v3/pkg/models/operations"
"log"
)

Expand Down
3 changes: 2 additions & 1 deletion gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ generation:
optionalPropertyRendering: withExample
fixes:
nameResolutionDec2023: false
parameterOrderingFeb2024: false
go:
version: 2.3.1
version: 3.0.0
clientServerStatusCodesAsErrors: true
flattenGlobalSecurity: true
imports:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/speakeasy-sdks/test-go/v2
module github.com/speakeasy-sdks/test-go/v3

go 1.20

Expand Down
2 changes: 1 addition & 1 deletion pkg/models/operations/createuserv1.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package operations

import (
"github.com/speakeasy-sdks/test-go/v2/pkg/models/shared"
"github.com/speakeasy-sdks/test-go/v3/pkg/models/shared"
"net/http"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/models/operations/deleteuserv1.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package operations

import (
"github.com/speakeasy-sdks/test-go/v2/pkg/models/shared"
"github.com/speakeasy-sdks/test-go/v3/pkg/models/shared"
"net/http"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/models/operations/gethealth.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package operations

import (
"github.com/speakeasy-sdks/test-go/v2/pkg/models/shared"
"github.com/speakeasy-sdks/test-go/v3/pkg/models/shared"
"net/http"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/models/operations/getuserv1.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package operations

import (
"github.com/speakeasy-sdks/test-go/v2/pkg/models/shared"
"github.com/speakeasy-sdks/test-go/v3/pkg/models/shared"
"net/http"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/models/operations/searchusersv1.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package operations

import (
"github.com/speakeasy-sdks/test-go/v2/pkg/models/shared"
"github.com/speakeasy-sdks/test-go/v3/pkg/models/shared"
"net/http"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/models/operations/updateuserv1.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package operations

import (
"github.com/speakeasy-sdks/test-go/v2/pkg/models/shared"
"github.com/speakeasy-sdks/test-go/v3/pkg/models/shared"
"net/http"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/models/shared/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package shared

import (
"github.com/speakeasy-sdks/test-go/v2/pkg/utils"
"github.com/speakeasy-sdks/test-go/v3/pkg/utils"
"time"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/utils/form.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (

"github.com/ericlagergren/decimal"

"github.com/speakeasy-sdks/test-go/v2/pkg/types"
"github.com/speakeasy-sdks/test-go/v3/pkg/types"
)

func populateForm(paramName string, explode bool, objType reflect.Type, objValue reflect.Value, delimiter string, getFieldName func(reflect.StructField) string) url.Values {
Expand Down
2 changes: 1 addition & 1 deletion pkg/utils/json.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"time"
"unsafe"

"github.com/speakeasy-sdks/test-go/v2/pkg/types"
"github.com/speakeasy-sdks/test-go/v3/pkg/types"

"github.com/ericlagergren/decimal"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/utils/pathparams.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (

"github.com/ericlagergren/decimal"

"github.com/speakeasy-sdks/test-go/v2/pkg/types"
"github.com/speakeasy-sdks/test-go/v3/pkg/types"
)

func GenerateURL(ctx context.Context, serverURL, path string, pathParams interface{}, globals map[string]map[string]map[string]interface{}) (string, error) {
Expand Down

0 comments on commit c6426bf

Please sign in to comment.