Skip to content

Commit

Permalink
Merge pull request #4 from unkeyed/speakeasy-sdk-regen-1715444721
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate
  • Loading branch information
chronark authored May 11, 2024
2 parents 0fef2fd + 06e5c25 commit 3173b0b
Show file tree
Hide file tree
Showing 31 changed files with 259 additions and 249 deletions.
4 changes: 2 additions & 2 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ management:
docVersion: 1.0.0
speakeasyVersion: 1.286.0
generationVersion: 2.326.3
releaseVersion: 0.1.3
configChecksum: 93e77f89ed338f694f678029c99f9cbf
releaseVersion: 0.1.4
configChecksum: 85c3b050f9c4452376f6ef09ce462b51
repoURL: https://github.com/unkeyed/unkey-go.git
installationURL: https://github.com/unkeyed/unkey-go
features:
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: true
go:
version: 0.1.3
version: 0.1.4
additionalDependencies: {}
clientServerStatusCodesAsErrors: true
flattenGlobalSecurity: true
Expand Down
54 changes: 27 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ package main

import (
"context"
unkeygo "github.com/unkeyed/unkey-go"
"github.com/unkeyed/unkey-go/models/components"
"github.com/unkeyed/unkey-go/models/operations"
"github.com/unkeyed/unkey"
"github.com/unkeyed/unkey/models/components"
"github.com/unkeyed/unkey/models/operations"
"log"
)

func main() {
s := unkeygo.New(
unkeygo.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
s := unkey.New(
unkey.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
)

request := operations.CreateAPIRequestBody{
Expand Down Expand Up @@ -119,16 +119,16 @@ package main
import (
"context"
"errors"
unkeygo "github.com/unkeyed/unkey-go"
"github.com/unkeyed/unkey-go/models/components"
"github.com/unkeyed/unkey-go/models/operations"
"github.com/unkeyed/unkey-go/models/sdkerrors"
"github.com/unkeyed/unkey"
"github.com/unkeyed/unkey/models/components"
"github.com/unkeyed/unkey/models/operations"
"github.com/unkeyed/unkey/models/sdkerrors"
"log"
)

func main() {
s := unkeygo.New(
unkeygo.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
s := unkey.New(
unkey.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
)

request := operations.CreateAPIRequestBody{
Expand Down Expand Up @@ -210,16 +210,16 @@ package main

import (
"context"
unkeygo "github.com/unkeyed/unkey-go"
"github.com/unkeyed/unkey-go/models/components"
"github.com/unkeyed/unkey-go/models/operations"
"github.com/unkeyed/unkey"
"github.com/unkeyed/unkey/models/components"
"github.com/unkeyed/unkey/models/operations"
"log"
)

func main() {
s := unkeygo.New(
unkeygo.WithServerIndex(0),
unkeygo.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
s := unkey.New(
unkey.WithServerIndex(0),
unkey.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
)

request := operations.CreateAPIRequestBody{
Expand Down Expand Up @@ -247,16 +247,16 @@ package main

import (
"context"
unkeygo "github.com/unkeyed/unkey-go"
"github.com/unkeyed/unkey-go/models/components"
"github.com/unkeyed/unkey-go/models/operations"
"github.com/unkeyed/unkey"
"github.com/unkeyed/unkey/models/components"
"github.com/unkeyed/unkey/models/operations"
"log"
)

func main() {
s := unkeygo.New(
unkeygo.WithServerURL("https://api.unkey.dev"),
unkeygo.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
s := unkey.New(
unkey.WithServerURL("https://api.unkey.dev"),
unkey.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
)

request := operations.CreateAPIRequestBody{
Expand Down Expand Up @@ -322,14 +322,14 @@ package main

import (
"context"
unkeygo "github.com/unkeyed/unkey-go"
"github.com/unkeyed/unkey-go/models/operations"
"github.com/unkeyed/unkey"
"github.com/unkeyed/unkey/models/operations"
"log"
)

func main() {
s := unkeygo.New(
unkeygo.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
s := unkey.New(
unkey.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
)

request := operations.CreateAPIRequestBody{
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,14 @@ Based on:
### Generated
- [go v0.1.3] .
### Releases
- [Go v0.1.3] https://github.com/unkeyed/unkey-go/releases/tag/v0.1.3 - .
- [Go v0.1.3] https://github.com/unkeyed/unkey-go/releases/tag/v0.1.3 - .

## 2024-05-11 16:25:18
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.286.0 (2.326.3) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v0.1.4] .
### Releases
- [Go v0.1.4] https://github.com/unkeyed/unkey-go/releases/tag/v0.1.4 - .
10 changes: 5 additions & 5 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ package main

import (
"context"
unkeygo "github.com/unkeyed/unkey-go"
"github.com/unkeyed/unkey-go/models/components"
"github.com/unkeyed/unkey-go/models/operations"
"github.com/unkeyed/unkey"
"github.com/unkeyed/unkey/models/components"
"github.com/unkeyed/unkey/models/operations"
"log"
)

func main() {
s := unkeygo.New(
unkeygo.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
s := unkey.New(
unkey.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
)

request := operations.CreateAPIRequestBody{
Expand Down
10 changes: 5 additions & 5 deletions apis.go
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.

package unkeygo
package unkey

import (
"bytes"
"context"
"fmt"
"github.com/unkeyed/unkey-go/internal/hooks"
"github.com/unkeyed/unkey-go/internal/utils"
"github.com/unkeyed/unkey-go/models/operations"
"github.com/unkeyed/unkey-go/models/sdkerrors"
"github.com/unkeyed/unkey/internal/hooks"
"github.com/unkeyed/unkey/internal/utils"
"github.com/unkeyed/unkey/models/operations"
"github.com/unkeyed/unkey/models/sdkerrors"
"io"
"net/http"
"net/url"
Expand Down
Loading

0 comments on commit 3173b0b

Please sign in to comment.