Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.440.1
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Nov 16, 2024
1 parent c4b2a03 commit 08e9beb
Show file tree
Hide file tree
Showing 175 changed files with 2,113 additions and 2,018 deletions.
87 changes: 63 additions & 24 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

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.4.0
version: 0.5.0
additionalDependencies: {}
allowUnknownFieldsInWeakUnions: false
clientServerStatusCodesAsErrors: true
defaultErrorName: SDKError
flattenGlobalSecurity: true
imports:
option: openapi
Expand Down
16 changes: 10 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
speakeasyVersion: 1.399.0
speakeasyVersion: 1.440.1
sources:
livepeer-studio-api:
sourceNamespace: livepeer-studio-api
sourceRevisionDigest: sha256:f3ea883f13fc67e60cb167af92c3e9be9ec4fea50eacd4130a1b51d7f1cd5102
sourceBlobDigest: sha256:a6e21f46600c0ad7fc422459cc7392d99943317b4a24fd41190670ba78a55eb8
sourceRevisionDigest: sha256:b2458801caccd85ea7011f90d46b4a83a2ebf6afc44bd9bf758967c34138ab51
sourceBlobDigest: sha256:49cd7a48ce214c823876e8ab80123a471903a46286c6a4451984a62afd1c2718
tags:
- latest
- main
- speakeasy-sdk-regen-1731112098
targets:
livepeer-go:
source: livepeer-studio-api
sourceNamespace: livepeer-studio-api
sourceRevisionDigest: sha256:f3ea883f13fc67e60cb167af92c3e9be9ec4fea50eacd4130a1b51d7f1cd5102
sourceBlobDigest: sha256:a6e21f46600c0ad7fc422459cc7392d99943317b4a24fd41190670ba78a55eb8
sourceRevisionDigest: sha256:b2458801caccd85ea7011f90d46b4a83a2ebf6afc44bd9bf758967c34138ab51
sourceBlobDigest: sha256:49cd7a48ce214c823876e8ab80123a471903a46286c6a4451984a62afd1c2718
codeSamplesNamespace: livepeer-studio-api-code-samples
codeSamplesRevisionDigest: sha256:a9648a22fd434b6cc72568702f5eb3b15ec66c73e15dd2031ef8204d2622ffdb
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand All @@ -31,3 +33,5 @@ workflow:
source: livepeer-studio-api
codeSamples:
output: codeSamples.yaml
registry:
location: registry.speakeasyapi.dev/livepeer/livepeer-studio/livepeer-studio-api-code-samples
2 changes: 2 additions & 0 deletions .speakeasy/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ targets:
source: livepeer-studio-api
codeSamples:
output: codeSamples.yaml
registry:
location: registry.speakeasyapi.dev/livepeer/livepeer-studio/livepeer-studio-api-code-samples
34 changes: 16 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ what they return.
* [Server Selection](#server-selection)
* [Custom HTTP Client](#custom-http-client)
* [Authentication](#authentication)
* [Special Types](#special-types)
<!-- End Table of Contents [toc] -->

<!-- Start SDK Installation [installation] -->
Expand Down Expand Up @@ -103,6 +102,7 @@ func main() {
* [Upscale](docs/sdks/generate/README.md#upscale) - Upscale
* [AudioToText](docs/sdks/generate/README.md#audiototext) - Audio To Text
* [SegmentAnything2](docs/sdks/generate/README.md#segmentanything2) - Segment Anything 2
* [Llm](docs/sdks/generate/README.md#llm) - LLM


### [Metrics](docs/sdks/metrics/README.md)
Expand Down Expand Up @@ -184,12 +184,16 @@ func main() {
<!-- 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 |
| ------------------ | ------------------ | ------------------ |
| sdkerrors.Error | 404 | application/json |
| sdkerrors.SDKError | 4xx-5xx | */* |
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 `Get` function may return the following errors:

| Error Type | Status Code | Content Type |
| ------------------ | ----------- | ---------------- |
| sdkerrors.Error | 404 | application/json |
| sdkerrors.SDKError | 4XX, 5XX | \*/\* |

### Example

Expand Down Expand Up @@ -268,9 +272,9 @@ This can be a convenient way to configure timeouts, cookies, proxies, custom hea

This SDK supports the following security scheme globally:

| Name | Type | Scheme |
| ----------- | ----------- | ----------- |
| `APIKey` | http | HTTP Bearer |
| Name | Type | Scheme |
| -------- | ---- | ----------- |
| `APIKey` | http | HTTP Bearer |

You can configure it using the `WithSecurity` option when initializing the SDK client instance. For example:
```go
Expand Down Expand Up @@ -342,7 +346,7 @@ func main() {
Multistream: &components.Multistream{
Targets: []components.Target{
components.Target{
Profile: "720p",
Profile: "720p0",
VideoOnly: livepeergo.Bool(false),
ID: livepeergo.String("PUSH123"),
Spec: &components.TargetSpec{
Expand All @@ -364,12 +368,6 @@ func main() {
```
<!-- End Authentication [security] -->

<!-- Start Special Types [types] -->
## Special Types


<!-- End Special Types [types] -->

<!-- Start Retries [retries] -->
## Retries

Expand Down Expand Up @@ -447,7 +445,7 @@ func main() {
Multistream: &components.Multistream{
Targets: []components.Target{
components.Target{
Profile: "720p",
Profile: "720p0",
VideoOnly: livepeergo.Bool(false),
ID: livepeergo.String("PUSH123"),
Spec: &components.TargetSpec{
Expand Down Expand Up @@ -560,7 +558,7 @@ func main() {
Multistream: &components.Multistream{
Targets: []components.Target{
components.Target{
Profile: "720p",
Profile: "720p0",
VideoOnly: livepeergo.Bool(false),
ID: livepeergo.String("PUSH123"),
Spec: &components.TargetSpec{
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,14 @@ Based on:
### Generated
- [go v0.4.0] .
### Releases
- [Go v0.4.0] https://github.com/livepeer/livepeer-go/releases/tag/v0.4.0 - .
- [Go v0.4.0] https://github.com/livepeer/livepeer-go/releases/tag/v0.4.0 - .

## 2024-11-16 00:30:17
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.440.1 (2.460.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v0.5.0] .
### Releases
- [Go v0.5.0] https://github.com/livepeer/livepeer-go/releases/tag/v0.5.0 - .
2 changes: 1 addition & 1 deletion USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func main() {
Multistream: &components.Multistream{
Targets: []components.Target{
components.Target{
Profile: "720p",
Profile: "720p0",
VideoOnly: livepeergo.Bool(false),
ID: livepeergo.String("PUSH123"),
Spec: &components.TargetSpec{
Expand Down
Loading

0 comments on commit 08e9beb

Please sign in to comment.