Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: 🐝 Update SDK - Generate 0.9.1 #43

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,186 changes: 956 additions & 230 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

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.9.0
version: 0.9.1
additionalDependencies: {}
allowUnknownFieldsInWeakUnions: false
clientServerStatusCodesAsErrors: true
Expand Down
11 changes: 5 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
speakeasyVersion: 1.376.0
speakeasyVersion: 1.402.12
sources:
openapi.json:
sourceNamespace: openapi-json
sourceRevisionDigest: sha256:22ea6d7a09f92497fce0a4a17b1dc53f4d58c6ca1ac8586d58c7adb6954d94f3
sourceBlobDigest: sha256:e06355b7e867f452b2de56e1c7505bcdc66cc40551ad9b0b6f8024682e26b709
sourceRevisionDigest: sha256:b41904850cc6ed437a9445e2fa1371a50078431deefc9c1e03e90a6c57ce919b
sourceBlobDigest: sha256:1f6f650bf87ca70cf40cec759d69bb698c0fa6cb60261d66e3db7b41c168b36e
tags:
- latest
- main
targets:
go:
source: openapi.json
sourceNamespace: openapi-json
sourceRevisionDigest: sha256:22ea6d7a09f92497fce0a4a17b1dc53f4d58c6ca1ac8586d58c7adb6954d94f3
sourceBlobDigest: sha256:e06355b7e867f452b2de56e1c7505bcdc66cc40551ad9b0b6f8024682e26b709
outLocation: /github/workspace/repo
sourceRevisionDigest: sha256:b41904850cc6ed437a9445e2fa1371a50078431deefc9c1e03e90a6c57ce919b
sourceBlobDigest: sha256:1f6f650bf87ca70cf40cec759d69bb698c0fa6cb60261d66e3db7b41c168b36e
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
72 changes: 50 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,31 @@
</div>


<!-- Start Summary [summary] -->
## Summary


<!-- End Summary [summary] -->

<!-- Start Table of Contents [toc] -->
## Table of Contents

* [SDK Installation](#sdk-installation)
* [SDK Example Usage](#sdk-example-usage)
* [Available Resources and Operations](#available-resources-and-operations)
* [Pagination](#pagination)
* [Retries](#retries)
* [Error Handling](#error-handling)
* [Server Selection](#server-selection)
* [Custom HTTP Client](#custom-http-client)
* [Authentication](#authentication)
* [Special Types](#special-types)
<!-- End Table of Contents [toc] -->

<!-- Start SDK Installation [installation] -->
## SDK Installation

To add the SDK as a dependency to your project:
```bash
go get github.com/unkeyed/unkey-go
```
Expand Down Expand Up @@ -50,9 +72,24 @@ func main() {
<!-- Start Available Resources and Operations [operations] -->
## Available Resources and Operations

### [Liveness](docs/sdks/liveness/README.md)
<details open>
<summary>Available methods</summary>

* [V1Liveness](docs/sdks/liveness/README.md#v1liveness)
### [Apis](docs/sdks/apis/README.md)

* [GetAPI](docs/sdks/apis/README.md#getapi)
* [CreateAPI](docs/sdks/apis/README.md#createapi)
* [ListKeys](docs/sdks/apis/README.md#listkeys)
* [DeleteAPI](docs/sdks/apis/README.md#deleteapi)
* [DeleteKeys](docs/sdks/apis/README.md#deletekeys)

### [Identities](docs/sdks/identities/README.md)

* [CreateIdentity](docs/sdks/identities/README.md#createidentity)
* [GetIdentity](docs/sdks/identities/README.md#getidentity)
* [ListIdentities](docs/sdks/identities/README.md#listidentities)
* [UpdateIdentity](docs/sdks/identities/README.md#updateidentity)
* [DeleteIdentity](docs/sdks/identities/README.md#deleteidentity)

### [Keys](docs/sdks/keys/README.md)

Expand All @@ -70,17 +107,9 @@ func main() {
* [RemoveRoles](docs/sdks/keys/README.md#removeroles)
* [SetRoles](docs/sdks/keys/README.md#setroles)

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

* [GetAPI](docs/sdks/apis/README.md#getapi)
* [CreateAPI](docs/sdks/apis/README.md#createapi)
* [ListKeys](docs/sdks/apis/README.md#listkeys)
* [DeleteAPI](docs/sdks/apis/README.md#deleteapi)
* [DeleteKeys](docs/sdks/apis/README.md#deletekeys)

### [Ratelimits](docs/sdks/ratelimits/README.md)
### [Liveness](docs/sdks/liveness/README.md)

* [Limit](docs/sdks/ratelimits/README.md#limit)
* [V1Liveness](docs/sdks/liveness/README.md#v1liveness)

### [Migrations](docs/sdks/migrations/README.md)

Expand All @@ -98,13 +127,12 @@ func main() {
* [GetRole](docs/sdks/permissions/README.md#getrole)
* [ListRoles](docs/sdks/permissions/README.md#listroles)

### [Identities](docs/sdks/identities/README.md)
### [Ratelimits](docs/sdks/ratelimits/README.md)

* [CreateIdentity](docs/sdks/identities/README.md#createidentity)
* [GetIdentity](docs/sdks/identities/README.md#getidentity)
* [ListIdentities](docs/sdks/identities/README.md#listidentities)
* [UpdateIdentity](docs/sdks/identities/README.md#updateidentity)
* [DeleteIdentity](docs/sdks/identities/README.md#deleteidentity)
* [Limit](docs/sdks/ratelimits/README.md#limit)


</details>
<!-- End Available Resources and Operations [operations] -->

<!-- Start Error Handling [errors] -->
Expand Down Expand Up @@ -450,11 +478,11 @@ func main() {
s := unkeygo.New(
unkeygo.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
)
request := operations.ListIdentitiesRequest{
Limit: unkeygo.Int64(100),
}

ctx := context.Background()
res, err := s.Identities.ListIdentities(ctx, request)
res, err := s.Identities.ListIdentities(ctx, operations.ListIdentitiesRequest{
Limit: unkeygo.Int64(100),
})
if err != nil {
log.Fatal(err)
}
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,4 +208,14 @@ Based on:
### Generated
- [go v0.9.0] .
### Releases
- [Go v0.9.0] https://github.com/unkeyed/unkey-go/releases/tag/v0.9.0 - .
- [Go v0.9.0] https://github.com/unkeyed/unkey-go/releases/tag/v0.9.0 - .

## 2024-09-25 00:29:31
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.402.12 (2.422.15) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v0.9.1] .
### Releases
- [Go v0.9.1] https://github.com/unkeyed/unkey-go/releases/tag/v0.9.1 - .
Loading