Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.396.9
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Sep 14, 2024
1 parent 9cc6211 commit a6c849a
Show file tree
Hide file tree
Showing 28 changed files with 4,856 additions and 779 deletions.
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.396.9
sources:
openapi.json:
sourceNamespace: openapi-json
sourceRevisionDigest: sha256:22ea6d7a09f92497fce0a4a17b1dc53f4d58c6ca1ac8586d58c7adb6954d94f3
sourceBlobDigest: sha256:e06355b7e867f452b2de56e1c7505bcdc66cc40551ad9b0b6f8024682e26b709
sourceRevisionDigest: sha256:394de6a5d4852a10b3e759c074d641351e00b30d61d5e77db7596d68ab428700
sourceBlobDigest: sha256:d72849ba97670c0c66f21feb60e63f33c2d75724b580a857bff0b017725f5f47
tags:
- latest
- main
targets:
go:
source: openapi.json
sourceNamespace: openapi-json
sourceRevisionDigest: sha256:22ea6d7a09f92497fce0a4a17b1dc53f4d58c6ca1ac8586d58c7adb6954d94f3
sourceBlobDigest: sha256:e06355b7e867f452b2de56e1c7505bcdc66cc40551ad9b0b6f8024682e26b709
outLocation: /github/workspace/repo
sourceRevisionDigest: sha256:394de6a5d4852a10b3e759c074d641351e00b30d61d5e77db7596d68ab428700
sourceBlobDigest: sha256:d72849ba97670c0c66f21feb60e63f33c2d75724b580a857bff0b017725f5f47
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-14 00:27:35
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.396.9 (2.415.7) 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

0 comments on commit a6c849a

Please sign in to comment.