Skip to content

Commit

Permalink
Merge pull request #30 from unkeyed/speakeasy-sdk-regen-1721068982
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate
  • Loading branch information
chronark authored Jul 15, 2024
2 parents 2750d9e + d2835a7 commit c205a19
Show file tree
Hide file tree
Showing 59 changed files with 4,844 additions and 702 deletions.
48 changes: 41 additions & 7 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
lockVersion: 2.0.0
id: 4fc4737a-135f-4840-8e6d-42a2b2a2884b
management:
docChecksum: 0785f5659b7521373ececdc3425c7efc
docChecksum: 1adbad72708fe75ac7626a1e7e1dfc13
docVersion: 1.0.0
speakeasyVersion: 1.330.0
generationVersion: 2.361.10
releaseVersion: 0.6.1
configChecksum: b411f7847c3a11ea34842f8b693e6fd0
speakeasyVersion: 1.335.2
generationVersion: 2.372.3
releaseVersion: 0.7.0
configChecksum: c299315b1cde1ca427dc047689fa60ff
repoURL: https://github.com/unkeyed/unkey-go.git
installationURL: https://github.com/unkeyed/unkey-go
features:
go:
additionalDependencies: 0.1.0
constsAndDefaults: 0.1.4
core: 3.4.14
core: 3.4.15
defaultEnabledRetries: 0.2.0
deprecations: 2.81.1
envVarSecurityUsage: 0.2.0
globalSecurity: 2.82.9
globalSecurityCallbacks: 0.1.0
globalSecurityFlattening: 0.1.0
Expand Down Expand Up @@ -62,6 +64,12 @@ generatedFiles:
- /models/operations/updatekey.go
- /models/operations/updateremaining.go
- /models/operations/getverifications.go
- /models/operations/addpermissions.go
- /models/operations/removepermissions.go
- /models/operations/setpermissions.go
- /models/operations/addroles.go
- /models/operations/removeroles.go
- /models/operations/setroles.go
- /models/operations/getapi.go
- /models/operations/listkeys.go
- /models/operations/deletekeys.go
Expand Down Expand Up @@ -115,6 +123,8 @@ generatedFiles:
- docs/models/operations/updatekeyratelimit.md
- docs/models/operations/updatekeyinterval.md
- docs/models/operations/updatekeyrefill.md
- docs/models/operations/roles.md
- docs/models/operations/permissions.md
- docs/models/operations/updatekeyrequestbody.md
- docs/models/operations/updatekeyresponsebody.md
- docs/models/operations/updatekeyresponse.md
Expand All @@ -127,6 +137,30 @@ generatedFiles:
- docs/models/operations/verifications.md
- docs/models/operations/getverificationsresponsebody.md
- docs/models/operations/getverificationsresponse.md
- docs/models/operations/addpermissionspermissions.md
- docs/models/operations/addpermissionsrequestbody.md
- docs/models/operations/responsebody.md
- docs/models/operations/addpermissionsresponse.md
- docs/models/operations/removepermissionspermissions.md
- docs/models/operations/removepermissionsrequestbody.md
- docs/models/operations/removepermissionsresponsebody.md
- docs/models/operations/removepermissionsresponse.md
- docs/models/operations/setpermissionspermissions.md
- docs/models/operations/setpermissionsrequestbody.md
- docs/models/operations/setpermissionsresponsebody.md
- docs/models/operations/setpermissionsresponse.md
- docs/models/operations/addrolesroles.md
- docs/models/operations/addrolesrequestbody.md
- docs/models/operations/addrolesresponsebody.md
- docs/models/operations/addrolesresponse.md
- docs/models/operations/removerolesroles.md
- docs/models/operations/removerolesrequestbody.md
- docs/models/operations/removerolesresponsebody.md
- docs/models/operations/removerolesresponse.md
- docs/models/operations/setrolesroles.md
- docs/models/operations/setrolesrequestbody.md
- docs/models/operations/setrolesresponsebody.md
- docs/models/operations/setrolesresponse.md
- docs/models/operations/getapirequest.md
- docs/models/operations/getapiresponsebody.md
- docs/models/operations/getapiresponse.md
Expand Down Expand Up @@ -168,7 +202,7 @@ generatedFiles:
- docs/models/operations/getpermissionrequest.md
- docs/models/operations/getpermissionresponsebody.md
- docs/models/operations/getpermissionresponse.md
- docs/models/operations/responsebody.md
- docs/models/operations/listpermissionsresponsebody.md
- docs/models/operations/listpermissionsresponse.md
- docs/models/operations/createrolerequestbody.md
- docs/models/operations/createroleresponsebody.md
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.6.1
version: 0.7.0
additionalDependencies: {}
allowUnknownFieldsInWeakUnions: false
clientServerStatusCodesAsErrors: true
Expand Down
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
speakeasyVersion: 1.330.0
speakeasyVersion: 1.335.2
sources:
openapi.json:
sourceNamespace: openapi-json
sourceRevisionDigest: sha256:5c12bae1c724729db89b905ce8cd7d30451db13721149eeb41b5538b0b93c1c7
sourceBlobDigest: sha256:24b012a381daa90eac68b5fc3ece8c6ec87883249492f438d669096c27465776
sourceRevisionDigest: sha256:5754c6125ef1a2d0690dd2ba633bc841608de7594320804124517ded211f4f1a
sourceBlobDigest: sha256:f0439adffd2a8e451bd3b624609ededd5e1b0eb06fc998eafa5e2ee5df6613d4
tags:
- latest
- main
targets:
go:
source: openapi.json
sourceNamespace: openapi-json
sourceRevisionDigest: sha256:5c12bae1c724729db89b905ce8cd7d30451db13721149eeb41b5538b0b93c1c7
sourceBlobDigest: sha256:24b012a381daa90eac68b5fc3ece8c6ec87883249492f438d669096c27465776
sourceRevisionDigest: sha256:5754c6125ef1a2d0690dd2ba633bc841608de7594320804124517ded211f4f1a
sourceBlobDigest: sha256:f0439adffd2a8e451bd3b624609ededd5e1b0eb06fc998eafa5e2ee5df6613d4
outLocation: /github/workspace/repo
workflow:
workflowVersion: 1.0.0
Expand Down
27 changes: 20 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,12 @@ import (
unkeygo "github.com/unkeyed/unkey-go"
"github.com/unkeyed/unkey-go/models/operations"
"log"
"os"
)

func main() {
s := unkeygo.New(
unkeygo.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
unkeygo.WithSecurity(os.Getenv("BEARER_AUTH")),
)
request := operations.CreateAPIRequestBody{
Name: "my-api",
Expand Down Expand Up @@ -69,6 +70,12 @@ func main() {
* [UpdateKey](docs/sdks/keys/README.md#updatekey)
* [UpdateRemaining](docs/sdks/keys/README.md#updateremaining)
* [GetVerifications](docs/sdks/keys/README.md#getverifications)
* [AddPermissions](docs/sdks/keys/README.md#addpermissions)
* [RemovePermissions](docs/sdks/keys/README.md#removepermissions)
* [SetPermissions](docs/sdks/keys/README.md#setpermissions)
* [AddRoles](docs/sdks/keys/README.md#addroles)
* [RemoveRoles](docs/sdks/keys/README.md#removeroles)
* [SetRoles](docs/sdks/keys/README.md#setroles)

### [Apis](docs/sdks/apis/README.md)

Expand Down Expand Up @@ -125,11 +132,12 @@ import (
"github.com/unkeyed/unkey-go/models/operations"
"github.com/unkeyed/unkey-go/models/sdkerrors"
"log"
"os"
)

func main() {
s := unkeygo.New(
unkeygo.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
unkeygo.WithSecurity(os.Getenv("BEARER_AUTH")),
)
request := operations.CreateAPIRequestBody{
Name: "my-api",
Expand Down Expand Up @@ -212,12 +220,13 @@ import (
unkeygo "github.com/unkeyed/unkey-go"
"github.com/unkeyed/unkey-go/models/operations"
"log"
"os"
)

func main() {
s := unkeygo.New(
unkeygo.WithServerIndex(0),
unkeygo.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
unkeygo.WithSecurity(os.Getenv("BEARER_AUTH")),
)
request := operations.CreateAPIRequestBody{
Name: "my-api",
Expand Down Expand Up @@ -246,12 +255,13 @@ import (
unkeygo "github.com/unkeyed/unkey-go"
"github.com/unkeyed/unkey-go/models/operations"
"log"
"os"
)

func main() {
s := unkeygo.New(
unkeygo.WithServerURL("https://api.unkey.dev"),
unkeygo.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
unkeygo.WithSecurity(os.Getenv("BEARER_AUTH")),
)
request := operations.CreateAPIRequestBody{
Name: "my-api",
Expand Down Expand Up @@ -318,11 +328,12 @@ import (
unkeygo "github.com/unkeyed/unkey-go"
"github.com/unkeyed/unkey-go/models/operations"
"log"
"os"
)

func main() {
s := unkeygo.New(
unkeygo.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
unkeygo.WithSecurity(os.Getenv("BEARER_AUTH")),
)
request := operations.CreateAPIRequestBody{
Name: "my-api",
Expand Down Expand Up @@ -362,11 +373,12 @@ import (
"github.com/unkeyed/unkey-go/retry"
"log"
"models/operations"
"os"
)

func main() {
s := unkeygo.New(
unkeygo.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
unkeygo.WithSecurity(os.Getenv("BEARER_AUTH")),
)
request := operations.CreateAPIRequestBody{
Name: "my-api",
Expand Down Expand Up @@ -403,6 +415,7 @@ import (
"github.com/unkeyed/unkey-go/models/operations"
"github.com/unkeyed/unkey-go/retry"
"log"
"os"
)

func main() {
Expand All @@ -418,7 +431,7 @@ func main() {
},
RetryConnectionErrors: false,
}),
unkeygo.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
unkeygo.WithSecurity(os.Getenv("BEARER_AUTH")),
)
request := operations.CreateAPIRequestBody{
Name: "my-api",
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,14 @@ Based on:
### Generated
- [go v0.6.1] .
### Releases
- [Go v0.6.1] https://github.com/unkeyed/unkey-go/releases/tag/v0.6.1 - .
- [Go v0.6.1] https://github.com/unkeyed/unkey-go/releases/tag/v0.6.1 - .

## 2024-07-15 18:42:59
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.335.2 (2.372.3) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v0.7.0] .
### Releases
- [Go v0.7.0] https://github.com/unkeyed/unkey-go/releases/tag/v0.7.0 - .
3 changes: 2 additions & 1 deletion USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ import (
unkeygo "github.com/unkeyed/unkey-go"
"github.com/unkeyed/unkey-go/models/operations"
"log"
"os"
)

func main() {
s := unkeygo.New(
unkeygo.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
unkeygo.WithSecurity(os.Getenv("BEARER_AUTH")),
)
request := operations.CreateAPIRequestBody{
Name: "my-api",
Expand Down
Loading

0 comments on commit c205a19

Please sign in to comment.