Skip to content

Commit

Permalink
Merge pull request #47 from unkeyed/speakeasy-sdk-regen-1728692920
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate 0.9.4
  • Loading branch information
chronark authored Oct 13, 2024
2 parents 668ea79 + acdfee3 commit af2b875
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 20 deletions.
10 changes: 5 additions & 5 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 4fc4737a-135f-4840-8e6d-42a2b2a2884b
management:
docChecksum: 201100a27c99d39c54519cba61e1d787
docChecksum: 59dd02148a920cd69cef637da74fab37
docVersion: 1.0.0
speakeasyVersion: 1.417.0
generationVersion: 2.438.2
releaseVersion: 0.9.3
configChecksum: 2a2ffaaead538dd665c9a703866c62a5
speakeasyVersion: 1.418.1
generationVersion: 2.438.3
releaseVersion: 0.9.4
configChecksum: 117778630705356958a9f1d4317948b4
repoURL: https://github.com/unkeyed/unkey-go.git
installationURL: https://github.com/unkeyed/unkey-go
features:
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.9.3
version: 0.9.4
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.417.0
speakeasyVersion: 1.418.1
sources:
openapi.json:
sourceNamespace: openapi-json
sourceRevisionDigest: sha256:1320ea16df363df8b16b2695c58c19ed12ad1e623948a905420d15603cfdd3ac
sourceBlobDigest: sha256:1b508a5b7bba1fa0fd5f0117d774cd2a8ee598b7439e8e4ae1bd42fbceef1ec1
sourceRevisionDigest: sha256:f7da09f3f786a654f681968a9472f7b1fb1f2cfd28a5de9fb0e22eb28684b49e
sourceBlobDigest: sha256:ccf76ebe23afdfc9add4a94cd104a04a6f32d14396733d0969409105e1e4f71e
tags:
- latest
- main
targets:
go:
source: openapi.json
sourceNamespace: openapi-json
sourceRevisionDigest: sha256:1320ea16df363df8b16b2695c58c19ed12ad1e623948a905420d15603cfdd3ac
sourceBlobDigest: sha256:1b508a5b7bba1fa0fd5f0117d774cd2a8ee598b7439e8e4ae1bd42fbceef1ec1
sourceRevisionDigest: sha256:f7da09f3f786a654f681968a9472f7b1fb1f2cfd28a5de9fb0e22eb28684b49e
sourceBlobDigest: sha256:ccf76ebe23afdfc9add4a94cd104a04a6f32d14396733d0969409105e1e4f71e
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,4 +238,14 @@ Based on:
### Generated
- [go v0.9.3] .
### Releases
- [Go v0.9.3] https://github.com/unkeyed/unkey-go/releases/tag/v0.9.3 - .
- [Go v0.9.3] https://github.com/unkeyed/unkey-go/releases/tag/v0.9.3 - .

## 2024-10-13 00:32:00
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.418.1 (2.438.3) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v0.9.4] .
### Releases
- [Go v0.9.4] https://github.com/unkeyed/unkey-go/releases/tag/v0.9.4 - .
10 changes: 5 additions & 5 deletions docs/models/operations/createidentityrequestbody.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

## Fields

| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `ExternalID` | *string* | :heavy_check_mark: | The id of this identity in your system.<br/><br/>This usually comes from your authentication provider and could be a userId, organisationId or even an email.<br/>It does not matter what you use, as long as it uniquely identifies something in your application.<br/> | user_123 |
| `Meta` | map[string]*any* | :heavy_minus_sign: | Attach metadata to this identity that you need to have access to when verifying a key.<br/><br/>This will be returned as part of the `verifyKey` response.<br/> | |
| `Ratelimits` | [][operations.Ratelimits](../../models/operations/ratelimits.md) | :heavy_minus_sign: | Attach ratelimits to this identity.<br/><br/>When verifying keys, you can specify which limits you want to use and all keys attached to this identity, will share the limits. | |
| Field | Type | Required | Description | Example |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `ExternalID` | *string* | :heavy_check_mark: | The id of this identity in your system.<br/><br/>This usually comes from your authentication provider and could be a userId, organisationId or even an email.<br/>It does not matter what you use, as long as it uniquely identifies something in your application.<br/><br/>`externalId`s are unique across your workspace and therefore a `PRECONDITION_FAILED` error is returned when you try to create duplicates.<br/> | user_123 |
| `Meta` | map[string]*any* | :heavy_minus_sign: | Attach metadata to this identity that you need to have access to when verifying a key.<br/><br/>This will be returned as part of the `verifyKey` response.<br/> | |
| `Ratelimits` | [][operations.Ratelimits](../../models/operations/ratelimits.md) | :heavy_minus_sign: | Attach ratelimits to this identity.<br/><br/>When verifying keys, you can specify which limits you want to use and all keys attached to this identity, will share the limits. | |
2 changes: 2 additions & 0 deletions models/operations/createidentity.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ type CreateIdentityRequestBody struct {
// This usually comes from your authentication provider and could be a userId, organisationId or even an email.
// It does not matter what you use, as long as it uniquely identifies something in your application.
//
// `externalId`s are unique across your workspace and therefore a `PRECONDITION_FAILED` error is returned when you try to create duplicates.
//
ExternalID string `json:"externalId"`
// Attach metadata to this identity that you need to have access to when verifying a key.
//
Expand Down
6 changes: 3 additions & 3 deletions unkey.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,9 @@ func New(opts ...SDKOption) *Unkey {
sdkConfiguration: sdkConfiguration{
Language: "go",
OpenAPIDocVersion: "1.0.0",
SDKVersion: "0.9.3",
GenVersion: "2.438.2",
UserAgent: "speakeasy-sdk/go 0.9.3 2.438.2 1.0.0 github.com/unkeyed/unkey-go",
SDKVersion: "0.9.4",
GenVersion: "2.438.3",
UserAgent: "speakeasy-sdk/go 0.9.4 2.438.3 1.0.0 github.com/unkeyed/unkey-go",
Hooks: hooks.New(),
},
}
Expand Down

0 comments on commit af2b875

Please sign in to comment.