Skip to content

Commit

Permalink
Merge pull request #51 from unkeyed/speakeasy-sdk-regen-1731025759
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate 0.11.0
  • Loading branch information
chronark authored Dec 9, 2024
2 parents aa96005 + 886b6ad commit 8dbf964
Show file tree
Hide file tree
Showing 54 changed files with 2,941 additions and 260 deletions.
131 changes: 120 additions & 11 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
lockVersion: 2.0.0
id: 4fc4737a-135f-4840-8e6d-42a2b2a2884b
management:
docChecksum: 957bade817085c900e9e156fe28f22de
docChecksum: aed0c1332c44cace441ba6222252499a
docVersion: 1.0.0
speakeasyVersion: 1.424.0
generationVersion: 2.445.1
releaseVersion: 0.10.0
configChecksum: f05f5642b3717c2fef64128e2da1d736
speakeasyVersion: 1.453.4
generationVersion: 2.474.6
releaseVersion: 0.11.0
configChecksum: a062b6a46d3010813d5b8551dd3182c1
repoURL: https://github.com/unkeyed/unkey-go.git
installationURL: https://github.com/unkeyed/unkey-go
features:
go:
additionalDependencies: 0.1.0
constsAndDefaults: 0.1.6
core: 3.5.14
core: 3.5.17
defaultEnabledRetries: 0.2.0
deprecations: 2.81.1
envVarSecurityUsage: 0.3.1
envVarSecurityUsage: 0.3.2
examples: 2.81.3
globalSecurity: 2.82.10
globalSecurityCallbacks: 0.1.0
globalSecurityFlattening: 0.1.0
Expand All @@ -26,10 +27,9 @@ features:
nullables: 0.1.0
pagination: 2.82.1
responseFormat: 0.1.2
retries: 2.83.0
retries: 2.83.1
sdkHooks: 0.1.0
tests: 0.6.0
unions: 2.85.9
unions: 2.85.10
generatedFiles:
- .gitattributes
- /models/components/httpmetadata.go
Expand All @@ -49,19 +49,23 @@ generatedFiles:
- /models/operations/deleteidentity.go
- /models/operations/deletekey.go
- /models/operations/deletekeys.go
- /models/operations/deleteoverride.go
- /models/operations/deletepermission.go
- /models/operations/deleterole.go
- /models/operations/getapi.go
- /models/operations/getidentity.go
- /models/operations/getkey.go
- /models/operations/getoverride.go
- /models/operations/getpermission.go
- /models/operations/getrole.go
- /models/operations/getverifications.go
- /models/operations/limit.go
- /models/operations/listidentities.go
- /models/operations/listkeys.go
- /models/operations/listoverrides.go
- /models/operations/listpermissions.go
- /models/operations/listroles.go
- /models/operations/ratelimitsetoverride.go
- /models/operations/removepermissions.go
- /models/operations/removeroles.go
- /models/operations/setpermissions.go
Expand Down Expand Up @@ -138,6 +142,9 @@ generatedFiles:
- docs/models/operations/deletekeysrequestbody.md
- docs/models/operations/deletekeysresponse.md
- docs/models/operations/deletekeysresponsebody.md
- docs/models/operations/deleteoverriderequestbody.md
- docs/models/operations/deleteoverrideresponse.md
- docs/models/operations/deleteoverrideresponsebody.md
- docs/models/operations/deletepermissionrequestbody.md
- docs/models/operations/deletepermissionresponse.md
- docs/models/operations/deletepermissionresponsebody.md
Expand All @@ -153,6 +160,9 @@ generatedFiles:
- docs/models/operations/getidentityresponsebody.md
- docs/models/operations/getkeyrequest.md
- docs/models/operations/getkeyresponse.md
- docs/models/operations/getoverriderequest.md
- docs/models/operations/getoverrideresponse.md
- docs/models/operations/getoverrideresponsebody.md
- docs/models/operations/getpermissionrequest.md
- docs/models/operations/getpermissionresponse.md
- docs/models/operations/getpermissionresponsebody.md
Expand All @@ -178,15 +188,22 @@ generatedFiles:
- docs/models/operations/listkeysrequest.md
- docs/models/operations/listkeysresponse.md
- docs/models/operations/listkeysresponsebody.md
- docs/models/operations/listoverridesrequest.md
- docs/models/operations/listoverridesresponse.md
- docs/models/operations/listoverridesresponsebody.md
- docs/models/operations/listpermissionsresponse.md
- docs/models/operations/listpermissionsresponsebody.md
- docs/models/operations/listrolesresponse.md
- docs/models/operations/listrolesresponsebody.md
- docs/models/operations/op.md
- docs/models/operations/option.md
- docs/models/operations/overrides.md
- docs/models/operations/permissions.md
- docs/models/operations/ratelimit.md
- docs/models/operations/ratelimits.md
- docs/models/operations/ratelimitsetoverriderequestbody.md
- docs/models/operations/ratelimitsetoverrideresponse.md
- docs/models/operations/ratelimitsetoverrideresponsebody.md
- docs/models/operations/refill.md
- docs/models/operations/removepermissionspermissions.md
- docs/models/operations/removepermissionsrequestbody.md
Expand Down Expand Up @@ -278,12 +295,14 @@ generatedFiles:
- docs/sdks/liveness/README.md
- docs/sdks/migrations/README.md
- docs/sdks/permissions/README.md
- docs/sdks/ratelimit/README.md
- docs/sdks/ratelimits/README.md
- docs/sdks/unkey/README.md
- go.mod
- identities.go
- internal/hooks/hooks.go
- internal/utils/contenttype.go
- internal/utils/env.go
- internal/utils/form.go
- internal/utils/headers.go
- internal/utils/json.go
Expand All @@ -299,6 +318,7 @@ generatedFiles:
- models/operations/options.go
- models/sdkerrors/sdkerror.go
- permissions.go
- ratelimit.go
- ratelimits.go
- retry/config.go
- types/bigint.go
Expand All @@ -312,7 +332,7 @@ examples:
speakeasy-default-v1-liveness:
responses:
"200":
application/json: {"status": "<value>", "services": {"metrics": "AxiomMetrics", "logger": "AxiomLogger or ConsoleLogger", "ratelimit": "<value>", "usagelimit": "<value>", "analytics": "<value>"}}
application/json: {"status": "<value>", "services": {"metrics": "AxiomMetrics", "logger": "AxiomLogger or ConsoleLogger", "ratelimit": "<value>", "usagelimit": "<value>"}}
"400":
application/json: {"error": {"code": "BAD_REQUEST", "docs": "https://unkey.dev/docs/api-reference/errors/code/BAD_REQUEST", "message": "<value>", "requestId": "req_1234"}}
"401":
Expand Down Expand Up @@ -1063,3 +1083,92 @@ examples:
application/json: {"error": {"code": "TOO_MANY_REQUESTS", "docs": "https://unkey.dev/docs/api-reference/errors/code/TOO_MANY_REQUESTS", "message": "<value>", "requestId": "req_1234"}}
"500":
application/json: {"error": {"code": "INTERNAL_SERVER_ERROR", "docs": "https://unkey.dev/docs/api-reference/errors/code/INTERNAL_SERVER_ERROR", "message": "<value>", "requestId": "req_1234"}}
deleteOverride:
speakeasy-default-delete-override:
requestBody:
application/json: {"namespaceId": "rlns_1234", "namespaceName": "email.outbound", "identifier": "user_123"}
responses:
"400":
application/json: {"error": {"code": "BAD_REQUEST", "docs": "https://unkey.dev/docs/api-reference/errors/code/BAD_REQUEST", "message": "<value>", "requestId": "req_1234"}}
"401":
application/json: {"error": {"code": "UNAUTHORIZED", "docs": "https://unkey.dev/docs/api-reference/errors/code/UNAUTHORIZED", "message": "<value>", "requestId": "req_1234"}}
"403":
application/json: {"error": {"code": "FORBIDDEN", "docs": "https://unkey.dev/docs/api-reference/errors/code/FORBIDDEN", "message": "<value>", "requestId": "req_1234"}}
"404":
application/json: {"error": {"code": "NOT_FOUND", "docs": "https://unkey.dev/docs/api-reference/errors/code/NOT_FOUND", "message": "<value>", "requestId": "req_1234"}}
"409":
application/json: {"error": {"code": "CONFLICT", "docs": "https://unkey.dev/docs/api-reference/errors/code/CONFLICT", "message": "<value>", "requestId": "req_1234"}}
"429":
application/json: {"error": {"code": "TOO_MANY_REQUESTS", "docs": "https://unkey.dev/docs/api-reference/errors/code/TOO_MANY_REQUESTS", "message": "<value>", "requestId": "req_1234"}}
"500":
application/json: {"error": {"code": "INTERNAL_SERVER_ERROR", "docs": "https://unkey.dev/docs/api-reference/errors/code/INTERNAL_SERVER_ERROR", "message": "<value>", "requestId": "req_1234"}}
ratelimit.setOverride:
speakeasy-default-ratelimit-set-override:
requestBody:
application/json: {"namespaceId": "rlns_1234", "namespaceName": "email.outbound", "identifier": "user_123", "limit": 10, "duration": 60000}
responses:
"200":
application/json: {"overrideId": "over_123"}
"400":
application/json: {"error": {"code": "BAD_REQUEST", "docs": "https://unkey.dev/docs/api-reference/errors/code/BAD_REQUEST", "message": "<value>", "requestId": "req_1234"}}
"401":
application/json: {"error": {"code": "UNAUTHORIZED", "docs": "https://unkey.dev/docs/api-reference/errors/code/UNAUTHORIZED", "message": "<value>", "requestId": "req_1234"}}
"403":
application/json: {"error": {"code": "FORBIDDEN", "docs": "https://unkey.dev/docs/api-reference/errors/code/FORBIDDEN", "message": "<value>", "requestId": "req_1234"}}
"404":
application/json: {"error": {"code": "NOT_FOUND", "docs": "https://unkey.dev/docs/api-reference/errors/code/NOT_FOUND", "message": "<value>", "requestId": "req_1234"}}
"409":
application/json: {"error": {"code": "CONFLICT", "docs": "https://unkey.dev/docs/api-reference/errors/code/CONFLICT", "message": "<value>", "requestId": "req_1234"}}
"429":
application/json: {"error": {"code": "TOO_MANY_REQUESTS", "docs": "https://unkey.dev/docs/api-reference/errors/code/TOO_MANY_REQUESTS", "message": "<value>", "requestId": "req_1234"}}
"500":
application/json: {"error": {"code": "INTERNAL_SERVER_ERROR", "docs": "https://unkey.dev/docs/api-reference/errors/code/INTERNAL_SERVER_ERROR", "message": "<value>", "requestId": "req_1234"}}
listOverrides:
speakeasy-default-list-overrides:
parameters:
query:
namespaceId: "rlns_1234"
namespaceName: "email.outbound"
limit: 100
responses:
"200":
application/json: {"overrides": [{"id": "<id>", "identifier": "<value>", "limit": 579960, "duration": 62070}, {"id": "<id>", "identifier": "<value>", "limit": 157093, "duration": 220141}], "cursor": "eyJrZXkiOiJrZXlfMTIzNCJ9", "total": 414453}
"400":
application/json: {"error": {"code": "BAD_REQUEST", "docs": "https://unkey.dev/docs/api-reference/errors/code/BAD_REQUEST", "message": "<value>", "requestId": "req_1234"}}
"401":
application/json: {"error": {"code": "UNAUTHORIZED", "docs": "https://unkey.dev/docs/api-reference/errors/code/UNAUTHORIZED", "message": "<value>", "requestId": "req_1234"}}
"403":
application/json: {"error": {"code": "FORBIDDEN", "docs": "https://unkey.dev/docs/api-reference/errors/code/FORBIDDEN", "message": "<value>", "requestId": "req_1234"}}
"404":
application/json: {"error": {"code": "NOT_FOUND", "docs": "https://unkey.dev/docs/api-reference/errors/code/NOT_FOUND", "message": "<value>", "requestId": "req_1234"}}
"409":
application/json: {"error": {"code": "CONFLICT", "docs": "https://unkey.dev/docs/api-reference/errors/code/CONFLICT", "message": "<value>", "requestId": "req_1234"}}
"429":
application/json: {"error": {"code": "TOO_MANY_REQUESTS", "docs": "https://unkey.dev/docs/api-reference/errors/code/TOO_MANY_REQUESTS", "message": "<value>", "requestId": "req_1234"}}
"500":
application/json: {"error": {"code": "INTERNAL_SERVER_ERROR", "docs": "https://unkey.dev/docs/api-reference/errors/code/INTERNAL_SERVER_ERROR", "message": "<value>", "requestId": "req_1234"}}
getOverride:
speakeasy-default-get-override:
parameters:
query:
namespaceId: "rlns_1234"
namespaceName: "email.outbound"
identifier: "user_123"
responses:
"200":
application/json: {"id": "<id>", "identifier": "<value>", "limit": 223250, "duration": 911447}
"400":
application/json: {"error": {"code": "BAD_REQUEST", "docs": "https://unkey.dev/docs/api-reference/errors/code/BAD_REQUEST", "message": "<value>", "requestId": "req_1234"}}
"401":
application/json: {"error": {"code": "UNAUTHORIZED", "docs": "https://unkey.dev/docs/api-reference/errors/code/UNAUTHORIZED", "message": "<value>", "requestId": "req_1234"}}
"403":
application/json: {"error": {"code": "FORBIDDEN", "docs": "https://unkey.dev/docs/api-reference/errors/code/FORBIDDEN", "message": "<value>", "requestId": "req_1234"}}
"404":
application/json: {"error": {"code": "NOT_FOUND", "docs": "https://unkey.dev/docs/api-reference/errors/code/NOT_FOUND", "message": "<value>", "requestId": "req_1234"}}
"409":
application/json: {"error": {"code": "CONFLICT", "docs": "https://unkey.dev/docs/api-reference/errors/code/CONFLICT", "message": "<value>", "requestId": "req_1234"}}
"429":
application/json: {"error": {"code": "TOO_MANY_REQUESTS", "docs": "https://unkey.dev/docs/api-reference/errors/code/TOO_MANY_REQUESTS", "message": "<value>", "requestId": "req_1234"}}
"500":
application/json: {"error": {"code": "INTERNAL_SERVER_ERROR", "docs": "https://unkey.dev/docs/api-reference/errors/code/INTERNAL_SERVER_ERROR", "message": "<value>", "requestId": "req_1234"}}
generatedTests: {}
4 changes: 3 additions & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ generation:
requestResponseComponentNamesFeb2024: true
auth:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: false
go:
version: 0.10.0
version: 0.11.0
additionalDependencies: {}
allowUnknownFieldsInWeakUnions: false
clientServerStatusCodesAsErrors: true
defaultErrorName: SDKError
flattenGlobalSecurity: true
imports:
option: openapi
Expand Down
19 changes: 10 additions & 9 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
speakeasyVersion: 1.424.0
speakeasyVersion: 1.453.4
sources:
openapi.json:
sourceNamespace: openapi-json
sourceRevisionDigest: sha256:5b4d353e01dd74e0ac9a8b521d71e5c97ffe1a654d77d3d8036b2e783bd08612
sourceBlobDigest: sha256:f03ba20fc32a90e85dacb81cd6f3b52c07e2a8a3dabda2f7186120b67c4d94ef
sourceRevisionDigest: sha256:805c458054c8cb789ff7b9496895307342a6e9a3cd48183010664f8dc91edf2d
sourceBlobDigest: sha256:7c411023d91510110ee6a90feac26e69e43d0c631fc7644606b9d4aa293dc629
tags:
- latest
- main
- speakeasy-sdk-regen-1731025759
- 1.0.0
targets:
go:
source: openapi.json
sourceNamespace: openapi-json
sourceRevisionDigest: sha256:5b4d353e01dd74e0ac9a8b521d71e5c97ffe1a654d77d3d8036b2e783bd08612
sourceBlobDigest: sha256:f03ba20fc32a90e85dacb81cd6f3b52c07e2a8a3dabda2f7186120b67c4d94ef
codeSamplesNamespace: openapi-json-code-samples
codeSamplesRevisionDigest: sha256:4df0c16b687b1fbf319e382a23a0398699310d4173f21f3a4dfec5f6f7abb2e9
sourceRevisionDigest: sha256:805c458054c8cb789ff7b9496895307342a6e9a3cd48183010664f8dc91edf2d
sourceBlobDigest: sha256:7c411023d91510110ee6a90feac26e69e43d0c631fc7644606b9d4aa293dc629
codeSamplesNamespace: openapi-json-go-code-samples
codeSamplesRevisionDigest: sha256:d87463f60ba7dcd50c93a255a7f50017204d67df2881cb3bbe41b1bb5f2ab7a9
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand All @@ -30,5 +31,5 @@ workflow:
source: openapi.json
codeSamples:
registry:
location: registry.speakeasyapi.dev/unkey/unkey/openapi-json-code-samples
location: registry.speakeasyapi.dev/unkey/unkey/openapi-json-go-code-samples
blocking: false
2 changes: 1 addition & 1 deletion .speakeasy/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ targets:
source: openapi.json
codeSamples:
registry:
location: registry.speakeasyapi.dev/unkey/unkey/openapi-json-code-samples
location: registry.speakeasyapi.dev/unkey/unkey/openapi-json-go-code-samples
blocking: false
Loading

0 comments on commit 8dbf964

Please sign in to comment.