Skip to content

Commit e3c6327

Browse files
authored
Merge pull request #30 from unkeyed/speakeasy-sdk-regen-1763044246
chore: 🐝 Update SDK - Generate API-GO 2.2.1
2 parents 5f54aa2 + 326f74b commit e3c6327

34 files changed

+1560
-45
lines changed

β€Ž.speakeasy/workflow.lockβ€Ž

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ sources:
66
sourceBlobDigest: sha256:ea16672bb25c37b64f5960f85e644921e95e47a9f8cac39629e4ea503018a775
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1763043868
9+
- speakeasy-sdk-regen-1763044246
1010
- 2.0.0
1111
api-python:
1212
sourceNamespace: api-python
@@ -20,10 +20,10 @@ targets:
2020
api-go:
2121
source: api
2222
sourceNamespace: api
23-
sourceRevisionDigest: sha256:3754edb88cf13ac9dc3fe3bb16c1e297621ab20a4a4f8b6dcff0de7513ac9951
24-
sourceBlobDigest: sha256:4ebcc4c4cb4a214fdbed07691a9cb2dd018ec12c7f9a112a8dc48b1e1133e2da
23+
sourceRevisionDigest: sha256:d53696d49e82e71398423026b7805b3b786556aeeaa23651d4795ab441bb3146
24+
sourceBlobDigest: sha256:ea16672bb25c37b64f5960f85e644921e95e47a9f8cac39629e4ea503018a775
2525
codeSamplesNamespace: api-go-code-samples
26-
codeSamplesRevisionDigest: sha256:5bfed76a8564b1fabed103a30cc8e46d1f0e22d40fa998bacfeabc4f7ccc6c25
26+
codeSamplesRevisionDigest: sha256:9075467a18b0c1cfbc5300ab088d5a664a531a02315239d41dc6449380ba4cae
2727
api-py:
2828
source: api-python
2929
sourceNamespace: api-python

β€Žapi/go/.speakeasy/gen.lockβ€Ž

Lines changed: 126 additions & 18 deletions
Large diffs are not rendered by default.

β€Žapi/go/README.mdβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@ func main() {
233233
* [CreateKey](docs/sdks/keys/README.md#createkey) - Create API key
234234
* [DeleteKey](docs/sdks/keys/README.md#deletekey) - Delete API keys
235235
* [GetKey](docs/sdks/keys/README.md#getkey) - Get API key
236+
* [MigrateKeys](docs/sdks/keys/README.md#migratekeys) - Migrate API key(s)
236237
* [RemovePermissions](docs/sdks/keys/README.md#removepermissions) - Remove key permissions
237238
* [RemoveRoles](docs/sdks/keys/README.md#removeroles) - Remove key roles
238239
* [RerollKey](docs/sdks/keys/README.md#rerollkey) - Reroll Key
@@ -260,6 +261,7 @@ func main() {
260261
* [GetOverride](docs/sdks/ratelimit/README.md#getoverride) - Get ratelimit override
261262
* [Limit](docs/sdks/ratelimit/README.md#limit) - Apply rate limiting
262263
* [ListOverrides](docs/sdks/ratelimit/README.md#listoverrides) - List ratelimit overrides
264+
* [MultiLimit](docs/sdks/ratelimit/README.md#multilimit) - Apply multiple rate limit checks
263265
* [SetOverride](docs/sdks/ratelimit/README.md#setoverride) - Set ratelimit override
264266

265267
</details>

β€Žapi/go/RELEASES.mdβ€Ž

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,14 @@ Based on:
5858
### Generated
5959
- [go v2.2.0] api/go
6060
### Releases
61-
- [Go v2.2.0] https://github.com/unkeyed/sdks/releases/tag/api/go/v2.2.0 - api/go
61+
- [Go v2.2.0] https://github.com/unkeyed/sdks/releases/tag/api/go/v2.2.0 - api/go
62+
63+
## 2025-11-13 14:35:22
64+
### Changes
65+
Based on:
66+
- OpenAPI Doc
67+
- Speakeasy CLI 1.656.1 (2.753.1) https://github.com/speakeasy-api/speakeasy
68+
### Generated
69+
- [go v2.2.1] api/go
70+
### Releases
71+
- [Go v2.2.1] https://github.com/unkeyed/sdks/releases/tag/api/go/v2.2.1 - api/go

β€Žapi/go/docs/models/components/v2keysmigratekeydata.mdβ€Ž

Lines changed: 17 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# V2KeysMigrateKeysMigration
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description | Example |
7+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
8+
| `Hash` | *string* | :heavy_check_mark: | The hash provided in the migration request | sha256_abc123def456 |
9+
| `KeyID` | *string* | :heavy_check_mark: | The unique identifier for this key in Unkey's system. This is NOT the actual API key, but a reference ID used for management operations like updating or deleting the key. Store this ID in your database to reference the key later. This ID is not sensitive and can be logged or displayed in dashboards. | key_2cGKbMxRyIzhCxo1Idjz8q |
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# V2KeysMigrateKeysRequestBody
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description | Example |
7+
| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
8+
| `MigrationID` | *string* | :heavy_check_mark: | Identifier of the configured migration provider/strategy to use (e.g., "your_company"). | your_company |
9+
| `APIID` | *string* | :heavy_check_mark: | The ID of the API that the keys should be inserted into | api_123456789 |
10+
| `Keys` | [][components.V2KeysMigrateKeyData](../../models/components/v2keysmigratekeydata.md) | :heavy_check_mark: | N/A | |
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# V2KeysMigrateKeysResponseBody
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
8+
| `Meta` | [components.Meta](../../models/components/meta.md) | :heavy_check_mark: | Metadata object included in every API response. This provides context about the request and is essential for debugging, audit trails, and support inquiries. The `requestId` is particularly important when troubleshooting issues with the Unkey support team. |
9+
| `Data` | [components.V2KeysMigrateKeysResponseData](../../models/components/v2keysmigratekeysresponsedata.md) | :heavy_check_mark: | N/A |
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# V2KeysMigrateKeysResponseData
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ |
8+
| `Migrated` | [][components.V2KeysMigrateKeysMigration](../../models/components/v2keysmigratekeysmigration.md) | :heavy_check_mark: | Successfully migrated keys with their hash and generated keyId |
9+
| `Failed` | []*string* | :heavy_check_mark: | Hashes that could not be migrated (e.g., already exist in the system) |

0 commit comments

Comments
Β (0)