Skip to content

Commit

Permalink
Merge pull request #42 from unkeyed/speakeasy-sdk-regen-1724170546
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate 0.9.0
  • Loading branch information
chronark authored Aug 20, 2024
2 parents e764d31 + 773cc0c commit 9cc6211
Show file tree
Hide file tree
Showing 18 changed files with 144 additions and 40 deletions.
18 changes: 9 additions & 9 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
lockVersion: 2.0.0
id: 4fc4737a-135f-4840-8e6d-42a2b2a2884b
management:
docChecksum: 5c90969528e4ba20ca9e64ea3b1e6a95
docChecksum: 621c3289c396eb08c056d389a37c2f2d
docVersion: 1.0.0
speakeasyVersion: 1.352.2
generationVersion: 2.385.2
releaseVersion: 0.8.9
configChecksum: 8faf54ef797f49985007dd8c70ffeccc
speakeasyVersion: 1.376.0
generationVersion: 2.402.5
releaseVersion: 0.9.0
configChecksum: 0d5ecbbed7f980333206941ee50386c7
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.5.3
constsAndDefaults: 0.1.6
core: 3.5.5
defaultEnabledRetries: 0.2.0
deprecations: 2.81.1
envVarSecurityUsage: 0.2.2
envVarSecurityUsage: 0.3.0
globalSecurity: 2.82.10
globalSecurityCallbacks: 0.1.0
globalSecurityFlattening: 0.1.0
Expand All @@ -28,7 +28,7 @@ features:
responseFormat: 0.1.2
retries: 2.83.0
sdkHooks: 0.1.0
unions: 2.85.8
unions: 2.85.9
generatedFiles:
- liveness.go
- keys.go
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.8.9
version: 0.9.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.352.2
speakeasyVersion: 1.376.0
sources:
openapi.json:
sourceNamespace: openapi-json
sourceRevisionDigest: sha256:6d6296b2170dd24191a23ec6f3088ffc07ae7a57ad0a6db9917b9bd9cd786a62
sourceBlobDigest: sha256:3e1a62a3e16aee8f00a9561a45331b89a01fc8572c439b16fb15c99e33f67c77
sourceRevisionDigest: sha256:22ea6d7a09f92497fce0a4a17b1dc53f4d58c6ca1ac8586d58c7adb6954d94f3
sourceBlobDigest: sha256:e06355b7e867f452b2de56e1c7505bcdc66cc40551ad9b0b6f8024682e26b709
tags:
- latest
- main
targets:
go:
source: openapi.json
sourceNamespace: openapi-json
sourceRevisionDigest: sha256:6d6296b2170dd24191a23ec6f3088ffc07ae7a57ad0a6db9917b9bd9cd786a62
sourceBlobDigest: sha256:3e1a62a3e16aee8f00a9561a45331b89a01fc8572c439b16fb15c99e33f67c77
sourceRevisionDigest: sha256:22ea6d7a09f92497fce0a4a17b1dc53f4d58c6ca1ac8586d58c7adb6954d94f3
sourceBlobDigest: sha256:e06355b7e867f452b2de56e1c7505bcdc66cc40551ad9b0b6f8024682e26b709
outLocation: /github/workspace/repo
workflow:
workflowVersion: 1.0.0
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,4 +198,14 @@ Based on:
### Generated
- [go v0.8.9] .
### Releases
- [Go v0.8.9] https://github.com/unkeyed/unkey-go/releases/tag/v0.8.9 - .
- [Go v0.8.9] https://github.com/unkeyed/unkey-go/releases/tag/v0.8.9 - .

## 2024-08-20 16:20:06
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.376.0 (2.402.5) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v0.9.0] .
### Releases
- [Go v0.9.0] https://github.com/unkeyed/unkey-go/releases/tag/v0.9.0 - .
17 changes: 9 additions & 8 deletions docs/models/operations/listkeysrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@

## Fields

| Field | Type | Required | Description | Example |
| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ |
| `APIID` | *string* | :heavy_check_mark: | N/A | api_1234 |
| `Limit` | **int64* | :heavy_minus_sign: | N/A | 100 |
| `Cursor` | **string* | :heavy_minus_sign: | N/A | |
| `OwnerID` | **string* | :heavy_minus_sign: | N/A | |
| `ExternalID` | **string* | :heavy_minus_sign: | N/A | |
| `Decrypt` | **bool* | :heavy_minus_sign: | N/A | |
| Field | Type | Required | Description | Example |
| --------------------- | --------------------- | --------------------- | --------------------- | --------------------- |
| `APIID` | *string* | :heavy_check_mark: | N/A | api_1234 |
| `Limit` | **int64* | :heavy_minus_sign: | N/A | 100 |
| `Cursor` | **string* | :heavy_minus_sign: | N/A | |
| `OwnerID` | **string* | :heavy_minus_sign: | N/A | |
| `ExternalID` | **string* | :heavy_minus_sign: | N/A | |
| `Decrypt` | **bool* | :heavy_minus_sign: | N/A | |
| `RevalidateKeysCache` | **bool* | :heavy_minus_sign: | N/A | |
2 changes: 1 addition & 1 deletion docs/models/operations/listkeysresponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
| Field | Type | Required | Description |
| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- |
| `HTTPMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A |
| `Object` | [*operations.ListKeysResponseBody](../../models/operations/listkeysresponsebody.md) | :heavy_minus_sign: | The configuration for an api |
| `Object` | [*operations.ListKeysResponseBody](../../models/operations/listkeysresponsebody.md) | :heavy_minus_sign: | List of keys for the api |
2 changes: 1 addition & 1 deletion docs/models/operations/listkeysresponsebody.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ListKeysResponseBody

The configuration for an api
List of keys for the api


## Fields
Expand Down
10 changes: 10 additions & 0 deletions docs/sdks/apis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ func main() {
}
```



### Parameters

| Parameter | Type | Required | Description |
Expand Down Expand Up @@ -96,6 +98,8 @@ func main() {
}
```



### Parameters

| Parameter | Type | Required | Description |
Expand Down Expand Up @@ -152,6 +156,8 @@ func main() {
}
```



### Parameters

| Parameter | Type | Required | Description |
Expand Down Expand Up @@ -207,6 +213,8 @@ func main() {
}
```



### Parameters

| Parameter | Type | Required | Description |
Expand Down Expand Up @@ -262,6 +270,8 @@ func main() {
}
```



### Parameters

| Parameter | Type | Required | Description |
Expand Down
10 changes: 10 additions & 0 deletions docs/sdks/identities/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ func main() {
}
```



### Parameters

| Parameter | Type | Required | Description |
Expand Down Expand Up @@ -104,6 +106,8 @@ func main() {
}
```



### Parameters

| Parameter | Type | Required | Description |
Expand Down Expand Up @@ -172,6 +176,8 @@ func main() {
}
```



### Parameters

| Parameter | Type | Required | Description |
Expand Down Expand Up @@ -235,6 +241,8 @@ func main() {
}
```



### Parameters

| Parameter | Type | Required | Description |
Expand Down Expand Up @@ -290,6 +298,8 @@ func main() {
}
```



### Parameters

| Parameter | Type | Required | Description |
Expand Down
28 changes: 28 additions & 0 deletions docs/sdks/keys/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ func main() {
}
```



### Parameters

| Parameter | Type | Required | Description |
Expand Down Expand Up @@ -104,6 +106,8 @@ func main() {
}
```



### Parameters

| Parameter | Type | Required | Description |
Expand Down Expand Up @@ -168,6 +172,7 @@ func main() {
Amount: 100,
},
Ratelimit: &operations.Ratelimit{
Type: operations.TypeFast.ToPointer(),
Limit: 10,
Duration: unkeygo.Int64(60000),
},
Expand All @@ -184,6 +189,8 @@ func main() {
}
```



### Parameters

| Parameter | Type | Required | Description |
Expand Down Expand Up @@ -252,6 +259,8 @@ func main() {
}
```



### Parameters

| Parameter | Type | Required | Description |
Expand Down Expand Up @@ -306,6 +315,7 @@ func main() {
},
Expires: unkeygo.Int64(0),
Ratelimit: &operations.UpdateKeyRatelimit{
Type: operations.UpdateKeyTypeFast.ToPointer(),
Limit: 10,
RefillRate: unkeygo.Int64(1),
RefillInterval: unkeygo.Int64(60),
Expand Down Expand Up @@ -352,6 +362,8 @@ func main() {
}
```



### Parameters

| Parameter | Type | Required | Description |
Expand Down Expand Up @@ -409,6 +421,8 @@ func main() {
}
```



### Parameters

| Parameter | Type | Required | Description |
Expand Down Expand Up @@ -468,6 +482,8 @@ func main() {
}
```



### Parameters

| Parameter | Type | Required | Description |
Expand Down Expand Up @@ -526,6 +542,8 @@ func main() {
}
```



### Parameters

| Parameter | Type | Required | Description |
Expand Down Expand Up @@ -589,6 +607,8 @@ func main() {
}
```



### Parameters

| Parameter | Type | Required | Description |
Expand Down Expand Up @@ -656,6 +676,8 @@ func main() {
}
```



### Parameters

| Parameter | Type | Required | Description |
Expand Down Expand Up @@ -723,6 +745,8 @@ func main() {
}
```



### Parameters

| Parameter | Type | Required | Description |
Expand Down Expand Up @@ -786,6 +810,8 @@ func main() {
}
```



### Parameters

| Parameter | Type | Required | Description |
Expand Down Expand Up @@ -853,6 +879,8 @@ func main() {
}
```



### Parameters

| Parameter | Type | Required | Description |
Expand Down
2 changes: 2 additions & 0 deletions docs/sdks/liveness/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ func main() {
}
```



### Parameters

| Parameter | Type | Required | Description |
Expand Down
6 changes: 6 additions & 0 deletions docs/sdks/migrations/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ func main() {
Amount: 100,
},
Ratelimit: &operations.V1MigrationsCreateKeysRatelimit{
Type: operations.V1MigrationsCreateKeysTypeFast.ToPointer(),
Limit: 10,
RefillRate: 1,
RefillInterval: 60,
Expand All @@ -67,6 +68,8 @@ func main() {
}
```



### Parameters

| Parameter | Type | Required | Description |
Expand Down Expand Up @@ -135,6 +138,7 @@ func main() {
Amount: 100,
},
Ratelimit: &operations.V1MigrationsEnqueueKeysRatelimit{
Type: operations.V1MigrationsEnqueueKeysTypeFast.ToPointer(),
Limit: 10,
Duration: 60000,
},
Expand All @@ -153,6 +157,8 @@ func main() {
}
```



### Parameters

| Parameter | Type | Required | Description |
Expand Down
Loading

0 comments on commit 9cc6211

Please sign in to comment.