Skip to content

Commit

Permalink
chore: regenerate using speakeasy 1.414.1
Browse files Browse the repository at this point in the history
  • Loading branch information
pmalek committed Oct 10, 2024
1 parent 202ef32 commit 2361947
Show file tree
Hide file tree
Showing 132 changed files with 1,585 additions and 4,023 deletions.
22 changes: 17 additions & 5 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ id: b81e5def-5b1e-4753-ae7c-0efccc2e6f61
management:
docChecksum: 173f20beea4b96421d5c18e6c34cd581
docVersion: 0.0.1
speakeasyVersion: 1.401.2
generationVersion: 2.421.3
releaseVersion: 0.0.14
configChecksum: db87764003c94ae1bf990fd868a238f1
speakeasyVersion: 1.414.1
generationVersion: 2.437.1
releaseVersion: 0.0.15
configChecksum: 228b2201ba718142f50393580b7c1111
features:
go:
additionalDependencies: 0.1.0
constsAndDefaults: 0.1.6
core: 3.5.9
core: 3.5.13
deepObjectParams: 0.1.0
defaultEnabledRetries: 0.2.0
envVarSecurityUsage: 0.3.1
Expand Down Expand Up @@ -378,8 +378,10 @@ generatedFiles:
- docs/models/components/basicauthwithoutparents.md
- docs/models/components/before.md
- docs/models/components/cacertificate.md
- docs/models/components/cacertificateinput.md
- docs/models/components/certificate.md
- docs/models/components/certificateadmin.md
- docs/models/components/certificateinput.md
- docs/models/components/claimmappings.md
- docs/models/components/clientcertificate.md
- docs/models/components/clustertype.md
Expand All @@ -388,7 +390,9 @@ generatedFiles:
- docs/models/components/consumer.md
- docs/models/components/consumeradmin.md
- docs/models/components/consumergroup.md
- docs/models/components/consumergroupinput.md
- docs/models/components/consumergroupinsidewrapper.md
- docs/models/components/consumerinput.md
- docs/models/components/controlplane.md
- docs/models/components/controlplanes.md
- docs/models/components/controlplanesummary.md
Expand Down Expand Up @@ -452,7 +456,9 @@ generatedFiles:
- docs/models/components/keyauth.md
- docs/models/components/keyauthconsumer.md
- docs/models/components/keyauthwithoutparents.md
- docs/models/components/keyinput.md
- docs/models/components/keyset.md
- docs/models/components/keysetinput.md
- docs/models/components/listcontrolplanesresponse.md
- docs/models/components/listdataplanecertificatesresponse.md
- docs/models/components/listdataplanecertificatesresponsepage.md
Expand Down Expand Up @@ -484,6 +490,7 @@ generatedFiles:
- docs/models/components/pluginadmin.md
- docs/models/components/pluginconsumer.md
- docs/models/components/pluginconsumergroup.md
- docs/models/components/plugininput.md
- docs/models/components/pluginroute.md
- docs/models/components/pluginsadmin.md
- docs/models/components/pluginschemas.md
Expand Down Expand Up @@ -566,6 +573,7 @@ generatedFiles:
- docs/models/components/rolesviewer.md
- docs/models/components/route.md
- docs/models/components/routeadmin.md
- docs/models/components/routeinput.md
- docs/models/components/routeprotocols.md
- docs/models/components/routeservice.md
- docs/models/components/routewithoutparents.md
Expand All @@ -577,10 +585,12 @@ generatedFiles:
- docs/models/components/rule.md
- docs/models/components/security.md
- docs/models/components/service.md
- docs/models/components/serviceinput.md
- docs/models/components/set.md
- docs/models/components/sni.md
- docs/models/components/sniadmin.md
- docs/models/components/snicertificate.md
- docs/models/components/sniinput.md
- docs/models/components/sniwithoutparents.md
- docs/models/components/sources.md
- docs/models/components/state.md
Expand Down Expand Up @@ -622,11 +632,13 @@ generatedFiles:
- docs/models/components/upstreamalgorithm.md
- docs/models/components/upstreamclientcertificate.md
- docs/models/components/upstreamhealthy.md
- docs/models/components/upstreaminput.md
- docs/models/components/upstreamtype.md
- docs/models/components/upstreamunhealthy.md
- docs/models/components/user.md
- docs/models/components/usercollection.md
- docs/models/components/vault.md
- docs/models/components/vaultinput.md
- docs/models/components/viewer.md
- docs/models/operations/addconsumertogrouprequest.md
- docs/models/operations/addconsumertogrouprequestbody.md
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: false
go:
version: 0.0.14
version: 0.0.15
additionalDependencies: {}
allowUnknownFieldsInWeakUnions: false
clientServerStatusCodesAsErrors: true
Expand Down
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,19 @@ This is a prototype and should not be used. See [CONTRIBUTING.md](https://github
<!-- Start Error Handling [errors] -->
## Error Handling

Handling errors in this SDK should largely match your expectations. All operations return a response object or an error, they will never return both. When specified by the OpenAPI spec document, the SDK will return the appropriate subclass.
Handling errors in this SDK should largely match your expectations. All operations return a response object or an error, they will never return both.

| Error Object | Status Code | Content Type |
By Default, an API error will return `sdkerrors.SDKError`. When custom error responses are specified for an operation, the SDK may also return their associated error. You can refer to respective *Errors* tables in SDK docs for more details on possible error types for each operation.

For example, the `ListControlPlanes` function may return the following errors:

| Error Type | Status Code | Content Type |
| ---------------------------- | ---------------------------- | ---------------------------- |
| sdkerrors.BadRequestError | 400 | application/problem+json |
| sdkerrors.UnauthorizedError | 401 | application/problem+json |
| sdkerrors.ForbiddenError | 403 | application/problem+json |
| sdkerrors.ServiceUnavailable | 503 | application/problem+json |
| sdkerrors.SDKError | 4xx-5xx | */* |
| sdkerrors.SDKError | 4XX, 5XX | \*/\* |

### Example

Expand Down
Loading

0 comments on commit 2361947

Please sign in to comment.