Skip to content

Commit 50392eb

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.440.0
1 parent c4b2a03 commit 50392eb

File tree

175 files changed

+2113
-2018
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

175 files changed

+2113
-2018
lines changed

.speakeasy/gen.lock

Lines changed: 63 additions & 24 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@ generation:
1111
requestResponseComponentNamesFeb2024: true
1212
auth:
1313
oAuth2ClientCredentialsEnabled: true
14+
oAuth2PasswordEnabled: false
1415
go:
15-
version: 0.4.0
16+
version: 0.5.0
1617
additionalDependencies: {}
1718
allowUnknownFieldsInWeakUnions: false
1819
clientServerStatusCodesAsErrors: true
20+
defaultErrorName: SDKError
1921
flattenGlobalSecurity: true
2022
imports:
2123
option: openapi

.speakeasy/workflow.lock

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
1-
speakeasyVersion: 1.399.0
1+
speakeasyVersion: 1.440.0
22
sources:
33
livepeer-studio-api:
44
sourceNamespace: livepeer-studio-api
5-
sourceRevisionDigest: sha256:f3ea883f13fc67e60cb167af92c3e9be9ec4fea50eacd4130a1b51d7f1cd5102
6-
sourceBlobDigest: sha256:a6e21f46600c0ad7fc422459cc7392d99943317b4a24fd41190670ba78a55eb8
5+
sourceRevisionDigest: sha256:b2458801caccd85ea7011f90d46b4a83a2ebf6afc44bd9bf758967c34138ab51
6+
sourceBlobDigest: sha256:49cd7a48ce214c823876e8ab80123a471903a46286c6a4451984a62afd1c2718
77
tags:
88
- latest
9-
- main
9+
- speakeasy-sdk-regen-1731112098
1010
targets:
1111
livepeer-go:
1212
source: livepeer-studio-api
1313
sourceNamespace: livepeer-studio-api
14-
sourceRevisionDigest: sha256:f3ea883f13fc67e60cb167af92c3e9be9ec4fea50eacd4130a1b51d7f1cd5102
15-
sourceBlobDigest: sha256:a6e21f46600c0ad7fc422459cc7392d99943317b4a24fd41190670ba78a55eb8
14+
sourceRevisionDigest: sha256:b2458801caccd85ea7011f90d46b4a83a2ebf6afc44bd9bf758967c34138ab51
15+
sourceBlobDigest: sha256:49cd7a48ce214c823876e8ab80123a471903a46286c6a4451984a62afd1c2718
16+
codeSamplesNamespace: livepeer-studio-api-code-samples
17+
codeSamplesRevisionDigest: sha256:a9648a22fd434b6cc72568702f5eb3b15ec66c73e15dd2031ef8204d2622ffdb
1618
workflow:
1719
workflowVersion: 1.0.0
1820
speakeasyVersion: latest
@@ -31,3 +33,5 @@ workflow:
3133
source: livepeer-studio-api
3234
codeSamples:
3335
output: codeSamples.yaml
36+
registry:
37+
location: registry.speakeasyapi.dev/livepeer/livepeer-studio/livepeer-studio-api-code-samples

.speakeasy/workflow.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@ targets:
1515
source: livepeer-studio-api
1616
codeSamples:
1717
output: codeSamples.yaml
18+
registry:
19+
location: registry.speakeasyapi.dev/livepeer/livepeer-studio/livepeer-studio-api-code-samples

README.md

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ what they return.
2525
* [Server Selection](#server-selection)
2626
* [Custom HTTP Client](#custom-http-client)
2727
* [Authentication](#authentication)
28-
* [Special Types](#special-types)
2928
<!-- End Table of Contents [toc] -->
3029

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

107107

108108
### [Metrics](docs/sdks/metrics/README.md)
@@ -184,12 +184,16 @@ func main() {
184184
<!-- Start Error Handling [errors] -->
185185
## Error Handling
186186

187-
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.
187+
Handling errors in this SDK should largely match your expectations. All operations return a response object or an error, they will never return both.
188188

189-
| Error Object | Status Code | Content Type |
190-
| ------------------ | ------------------ | ------------------ |
191-
| sdkerrors.Error | 404 | application/json |
192-
| sdkerrors.SDKError | 4xx-5xx | */* |
189+
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.
190+
191+
For example, the `Get` function may return the following errors:
192+
193+
| Error Type | Status Code | Content Type |
194+
| ------------------ | ----------- | ---------------- |
195+
| sdkerrors.Error | 404 | application/json |
196+
| sdkerrors.SDKError | 4XX, 5XX | \*/\* |
193197

194198
### Example
195199

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

269273
This SDK supports the following security scheme globally:
270274

271-
| Name | Type | Scheme |
272-
| ----------- | ----------- | ----------- |
273-
| `APIKey` | http | HTTP Bearer |
275+
| Name | Type | Scheme |
276+
| -------- | ---- | ----------- |
277+
| `APIKey` | http | HTTP Bearer |
274278

275279
You can configure it using the `WithSecurity` option when initializing the SDK client instance. For example:
276280
```go
@@ -342,7 +346,7 @@ func main() {
342346
Multistream: &components.Multistream{
343347
Targets: []components.Target{
344348
components.Target{
345-
Profile: "720p",
349+
Profile: "720p0",
346350
VideoOnly: livepeergo.Bool(false),
347351
ID: livepeergo.String("PUSH123"),
348352
Spec: &components.TargetSpec{
@@ -364,12 +368,6 @@ func main() {
364368
```
365369
<!-- End Authentication [security] -->
366370

367-
<!-- Start Special Types [types] -->
368-
## Special Types
369-
370-
371-
<!-- End Special Types [types] -->
372-
373371
<!-- Start Retries [retries] -->
374372
## Retries
375373

@@ -447,7 +445,7 @@ func main() {
447445
Multistream: &components.Multistream{
448446
Targets: []components.Target{
449447
components.Target{
450-
Profile: "720p",
448+
Profile: "720p0",
451449
VideoOnly: livepeergo.Bool(false),
452450
ID: livepeergo.String("PUSH123"),
453451
Spec: &components.TargetSpec{
@@ -560,7 +558,7 @@ func main() {
560558
Multistream: &components.Multistream{
561559
Targets: []components.Target{
562560
components.Target{
563-
Profile: "720p",
561+
Profile: "720p0",
564562
VideoOnly: livepeergo.Bool(false),
565563
ID: livepeergo.String("PUSH123"),
566564
Spec: &components.TargetSpec{

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,14 @@ Based on:
108108
### Generated
109109
- [go v0.4.0] .
110110
### Releases
111-
- [Go v0.4.0] https://github.com/livepeer/livepeer-go/releases/tag/v0.4.0 - .
111+
- [Go v0.4.0] https://github.com/livepeer/livepeer-go/releases/tag/v0.4.0 - .
112+
113+
## 2024-11-15 00:31:05
114+
### Changes
115+
Based on:
116+
- OpenAPI Doc
117+
- Speakeasy CLI 1.440.0 (2.457.9) https://github.com/speakeasy-api/speakeasy
118+
### Generated
119+
- [go v0.5.0] .
120+
### Releases
121+
- [Go v0.5.0] https://github.com/livepeer/livepeer-go/releases/tag/v0.5.0 - .

USAGE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func main() {
6868
Multistream: &components.Multistream{
6969
Targets: []components.Target{
7070
components.Target{
71-
Profile: "720p",
71+
Profile: "720p0",
7272
VideoOnly: livepeergo.Bool(false),
7373
ID: livepeergo.String("PUSH123"),
7474
Spec: &components.TargetSpec{

0 commit comments

Comments
 (0)