Skip to content

Commit 0b7f6fc

Browse files
authored
Merge pull request #8 from unkeyed/speakeasy-sdk-regen-1754353404
2 parents e6e8aa4 + a2e2851 commit 0b7f6fc

29 files changed

+758
-46
lines changed

.speakeasy/workflow.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@ sources:
66
sourceBlobDigest: sha256:db7750be975342c83bdaad2500d0a670973a82aa3663b542d61be9b1a4a807e7
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1754353920
9+
- speakeasy-sdk-regen-1754353404
1010
- 2.0.0
1111
targets:
1212
api-go:
1313
source: api
1414
sourceNamespace: api
15-
sourceRevisionDigest: sha256:021bf16ce97014d0249bb12134b57db7d276b00bfe3c0caf8505c2f271d61d41
16-
sourceBlobDigest: sha256:074d9febddb2fb2b94af093a21095742d57670d77b98934a0fc69091b94187e5
15+
sourceRevisionDigest: sha256:4d64149507e9582b047c020bf2d234e4b8a54e66d4da6d9c99b1e390c2e351dd
16+
sourceBlobDigest: sha256:db7750be975342c83bdaad2500d0a670973a82aa3663b542d61be9b1a4a807e7
1717
codeSamplesNamespace: api-go-code-samples
18-
codeSamplesRevisionDigest: sha256:467c2f82d6db9585f3eef20cd732c16944d481e3abd3548ed432c1c5462ccaae
18+
codeSamplesRevisionDigest: sha256:b4ffeaa0a6ac670558e26f155c0ed154c29fa2387c999ae94361722b0864d890
1919
api-py:
2020
source: api
2121
sourceNamespace: api

api/go/.speakeasy/gen.lock

Lines changed: 32 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
lockVersion: 2.0.0
22
id: 1e71104d-54d7-4d66-ad20-a43a13855261
33
management:
4-
docChecksum: eadce45d1ce3a18b5cb7ff0efda8c947
4+
docChecksum: 2429216e9412a2205c264a18850bba67
55
docVersion: 2.0.0
6-
speakeasyVersion: 1.596.0
7-
generationVersion: 2.672.0
8-
releaseVersion: 2.0.1
9-
configChecksum: af15bd104e1d88f0861775a21a501e95
6+
speakeasyVersion: 1.604.2
7+
generationVersion: 2.683.1
8+
releaseVersion: 2.0.2
9+
configChecksum: 856bbb55fc7e73845a218e8f3da27b5c
1010
repoURL: https://github.com/unkeyed/sdks.git
1111
repoSubDirectory: api/go
12-
installationURL: https://github.com/unkeyed/sdks/api/go/v2
12+
installationURL: https://github.com/unkeyed/sdks/api/go
1313
features:
1414
go:
1515
additionalDependencies: 0.1.0
@@ -27,7 +27,7 @@ features:
2727
nullables: 0.1.1
2828
pagination: 2.82.4
2929
responseFormat: 0.1.2
30-
retries: 2.84.0
30+
retries: 2.84.2
3131
sdkHooks: 0.2.0
3232
generatedFiles:
3333
- .gitattributes
@@ -92,6 +92,9 @@ generatedFiles:
9292
- /models/components/v2keysremovepermissionsresponsebody.go
9393
- /models/components/v2keysremoverolesrequestbody.go
9494
- /models/components/v2keysremoverolesresponsebody.go
95+
- /models/components/v2keysrerollkeyrequestbody.go
96+
- /models/components/v2keysrerollkeyresponsebody.go
97+
- /models/components/v2keysrerollkeyresponsedata.go
9598
- /models/components/v2keyssetpermissionsrequestbody.go
9699
- /models/components/v2keyssetpermissionsresponsebody.go
97100
- /models/components/v2keyssetrolesrequestbody.go
@@ -165,6 +168,7 @@ generatedFiles:
165168
- /models/operations/ratelimitsetoverride.go
166169
- /models/operations/removepermissions.go
167170
- /models/operations/removeroles.go
171+
- /models/operations/rerollkey.go
168172
- /models/operations/setpermissions.go
169173
- /models/operations/setroles.go
170174
- /models/operations/updatecredits.go
@@ -240,6 +244,9 @@ generatedFiles:
240244
- docs/models/components/v2keysremovepermissionsresponsebody.md
241245
- docs/models/components/v2keysremoverolesrequestbody.md
242246
- docs/models/components/v2keysremoverolesresponsebody.md
247+
- docs/models/components/v2keysrerollkeyrequestbody.md
248+
- docs/models/components/v2keysrerollkeyresponsebody.md
249+
- docs/models/components/v2keysrerollkeyresponsedata.md
243250
- docs/models/components/v2keyssetpermissionsrequestbody.md
244251
- docs/models/components/v2keyssetpermissionsresponsebody.md
245252
- docs/models/components/v2keyssetrolesrequestbody.md
@@ -314,6 +321,7 @@ generatedFiles:
314321
- docs/models/operations/ratelimitsetoverrideresponse.md
315322
- docs/models/operations/removepermissionsresponse.md
316323
- docs/models/operations/removerolesresponse.md
324+
- docs/models/operations/rerollkeyresponse.md
317325
- docs/models/operations/setpermissionsresponse.md
318326
- docs/models/operations/setrolesresponse.md
319327
- docs/models/operations/updatecreditsresponse.md
@@ -1265,5 +1273,22 @@ examples:
12651273
responses:
12661274
"404":
12671275
application/json: {"meta": {"requestId": "req_2wXyZaAbCdEfGhIjKlMnOp"}, "error": {"detail": "This namespace does not exist.", "status": 404, "title": "Not Found", "type": "not_found"}}
1276+
rerollKey:
1277+
speakeasy-default-reroll-key:
1278+
requestBody:
1279+
application/json: {"keyId": "key_2cGKbMxRyIzhCxo1Idjz8q", "expiration": 86400000}
1280+
responses:
1281+
"200":
1282+
application/json: {"meta": {"requestId": "req_123"}, "data": {"keyId": "key_2cGKbMxRyIzhCxo1Idjz8q", "key": "prod_2cGKbMxRjIzhCxo1IdjH3arELti7Sdyc8w6XYbvtcyuBowPT"}}
1283+
"400":
1284+
application/json: {"meta": {"requestId": "req_123"}, "error": {"detail": "Property foo is required but is missing.", "status": 404, "title": "Not Found", "type": "https://unkey.com/docs/errors/unkey/resource/not_found", "errors": [{"location": "body.permissions[0].name", "message": "Must be at least 3 characters long", "fix": "Ensure the name uses only alphanumeric characters, underscores, and hyphens"}]}}
1285+
"401":
1286+
application/json: {"meta": {"requestId": "req_123"}, "error": {"detail": "Property foo is required but is missing.", "status": 404, "title": "Not Found", "type": "https://unkey.com/docs/errors/unkey/resource/not_found"}}
1287+
"403":
1288+
application/json: {"meta": {"requestId": "req_123"}, "error": {"detail": "Property foo is required but is missing.", "status": 404, "title": "Not Found", "type": "https://unkey.com/docs/errors/unkey/resource/not_found"}}
1289+
"404":
1290+
application/json: {"meta": {"requestId": "req_123"}, "error": {"detail": "Property foo is required but is missing.", "status": 404, "title": "Not Found", "type": "https://unkey.com/docs/errors/unkey/resource/not_found"}}
1291+
"500":
1292+
application/json: {"meta": {"requestId": "req_123"}, "error": {"detail": "Property foo is required but is missing.", "status": 404, "title": "Not Found", "type": "https://unkey.com/docs/errors/unkey/resource/not_found"}}
12681293
examplesVersion: 1.0.2
12691294
generatedTests: {}

api/go/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ func main() {
231231
* [GetKey](docs/sdks/keys/README.md#getkey) - Get API key
232232
* [RemovePermissions](docs/sdks/keys/README.md#removepermissions) - Remove key permissions
233233
* [RemoveRoles](docs/sdks/keys/README.md#removeroles) - Remove key roles
234+
* [RerollKey](docs/sdks/keys/README.md#rerollkey) - Reroll Key
234235
* [SetPermissions](docs/sdks/keys/README.md#setpermissions) - Set key permissions
235236
* [SetRoles](docs/sdks/keys/README.md#setroles) - Set key roles
236237
* [UpdateCredits](docs/sdks/keys/README.md#updatecredits) - Update key credits

api/go/RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,14 @@ Based on:
88
### Generated
99
- [go v2.0.0] api/go
1010
### Releases
11-
- [Go v2.0.0] https://github.com/unkeyed/sdks/releases/tag/api/go/v2.0.0 - api/go
11+
- [Go v2.0.0] https://github.com/unkeyed/sdks/releases/tag/api/go/v2.0.0 - api/go
12+
13+
## 2025-08-15 10:10:37
14+
### Changes
15+
Based on:
16+
- OpenAPI Doc
17+
- Speakeasy CLI 1.604.2 (2.683.1) https://github.com/speakeasy-api/speakeasy
18+
### Generated
19+
- [go v2.0.2] api/go
20+
### Releases
21+
- [Go v2.0.2] https://github.com/unkeyed/sdks/releases/tag/api/go/v2.0.2 - api/go

0 commit comments

Comments
 (0)