ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.399.2

This commit is contained in:
speakeasybot
2024-09-18 15:03:35 +00:00
parent a7eedd3598
commit 2289036c2b
6 changed files with 29 additions and 17 deletions

View File

@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: dfa99515-01c0-42eb-9be5-ee212fd03eb3
management:
docChecksum: 00300559ab18b6bc39c1d22a82645eea
docChecksum: a757575c783823ab21aa7a1dfc782bcb
docVersion: 0.0.3
speakeasyVersion: 1.399.1
generationVersion: 2.415.8
releaseVersion: 0.11.12
configChecksum: ef7d8d780af51d829aa5bb806303cead
speakeasyVersion: 1.399.2
generationVersion: 2.416.6
releaseVersion: 0.11.13
configChecksum: ef7a6b8f48a1091558ca14f5b3856bcf
repoURL: https://github.com/LukeHagar/plexgo.git
repoSubDirectory: .
installationURL: https://github.com/LukeHagar/plexgo
@@ -1259,6 +1259,8 @@ examples:
application/json: {"id": 308667304, "code": "7RQZ", "product": "0", "trusted": false, "qr": "https://plex.tv/api/v2/pins/qr/7RQZ", "clientIdentifier": "string", "location": {"code": "VI", "continent_code": "NA", "country": "United States Virgin Islands", "city": "Amsterdam", "european_union_member": true, "time_zone": "America/St_Thomas", "postal_code": 802, "in_privacy_restricted_country": true, "in_privacy_restricted_region": true, "subdivisions": "Saint Thomas", "coordinates": "18.3381, -64.8941"}, "expiresIn": 876, "createdAt": "2024-07-16T17:03:05Z", "expiresAt": "2024-07-16T17:18:05Z", "authToken": null, "newRegistration": null}
"400":
application/json: {"errors": []}
"201":
application/json: {"id": 308667304, "code": "7RQZ", "product": "0", "trusted": false, "qr": "https://plex.tv/api/v2/pins/qr/7RQZ", "clientIdentifier": "string", "location": {"code": "VI", "continent_code": "NA", "country": "United States Virgin Islands", "city": "Amsterdam", "european_union_member": true, "time_zone": "America/St_Thomas", "postal_code": 802, "in_privacy_restricted_country": true, "in_privacy_restricted_region": true, "subdivisions": "Saint Thomas", "coordinates": "18.3381, -64.8941"}, "expiresIn": 876, "createdAt": "2024-07-16T17:03:05Z", "expiresAt": "2024-07-16T17:18:05Z", "authToken": null, "newRegistration": null}
getTokenByPinId:
"":
parameters:

View File

@@ -12,7 +12,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: true
go:
version: 0.11.12
version: 0.11.13
additionalDependencies: {}
allowUnknownFieldsInWeakUnions: false
clientServerStatusCodesAsErrors: true

View File

@@ -1,4 +1,4 @@
speakeasyVersion: 1.399.1
speakeasyVersion: 1.399.2
sources:
my-source:
sourceNamespace: my-source
@@ -9,8 +9,8 @@ sources:
- main
plexapi:
sourceNamespace: plexapi
sourceRevisionDigest: sha256:6b539c72d3ffb9af75db79a2b2263cf48bb0deef19f5e737bd444360a7728485
sourceBlobDigest: sha256:25ad41e698e1a92496c2810efbc683726df978543106e645c5e71b858de2a1e1
sourceRevisionDigest: sha256:cee947333ac1c914de35d95bfb02d52876957ac3842c793e5bd0a0ccf1cf93eb
sourceBlobDigest: sha256:27e5df6f83cb96ca504026d95b21de303f6de81f92872dc3cc4bb72c8dd26aa7
tags:
- latest
- main
@@ -18,10 +18,10 @@ targets:
plexgo:
source: plexapi
sourceNamespace: plexapi
sourceRevisionDigest: sha256:6b539c72d3ffb9af75db79a2b2263cf48bb0deef19f5e737bd444360a7728485
sourceBlobDigest: sha256:25ad41e698e1a92496c2810efbc683726df978543106e645c5e71b858de2a1e1
sourceRevisionDigest: sha256:cee947333ac1c914de35d95bfb02d52876957ac3842c793e5bd0a0ccf1cf93eb
sourceBlobDigest: sha256:27e5df6f83cb96ca504026d95b21de303f6de81f92872dc3cc4bb72c8dd26aa7
codeSamplesNamespace: code-samples-go-plexgo
codeSamplesRevisionDigest: sha256:32cd61ad0dbf1332825ae2f216618d7f33113722706d62d9a19ceb556345c7d5
codeSamplesRevisionDigest: sha256:3572a5f200b22bf708c3346c67d141eb297ec73de2d1c3a2a0866c1eb62fb4c5
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest

View File

@@ -872,4 +872,14 @@ Based on:
### Generated
- [go v0.11.12] .
### Releases
- [Go v0.11.12] https://github.com/LukeHagar/plexgo/releases/tag/v0.11.12 - .
- [Go v0.11.12] https://github.com/LukeHagar/plexgo/releases/tag/v0.11.12 - .
## 2024-09-18 15:01:19
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.399.2 (2.416.6) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v0.11.13] .
### Releases
- [Go v0.11.13] https://github.com/LukeHagar/plexgo/releases/tag/v0.11.13 - .

View File

@@ -1433,7 +1433,7 @@ func (s *Plex) GetPin(ctx context.Context, request operations.GetPinRequest, opt
}
switch {
case httpRes.StatusCode == 200:
case httpRes.StatusCode == 201:
switch {
case utils.MatchContentType(httpRes.Header.Get("Content-Type"), `application/json`):
rawBody, err := getRawBody()

View File

@@ -311,9 +311,9 @@ func New(opts ...SDKOption) *PlexAPI {
sdkConfiguration: sdkConfiguration{
Language: "go",
OpenAPIDocVersion: "0.0.3",
SDKVersion: "0.11.12",
GenVersion: "2.415.8",
UserAgent: "speakeasy-sdk/go 0.11.12 2.415.8 0.0.3 github.com/LukeHagar/plexgo",
SDKVersion: "0.11.13",
GenVersion: "2.416.6",
UserAgent: "speakeasy-sdk/go 0.11.13 2.416.6 0.0.3 github.com/LukeHagar/plexgo",
Globals: globals.Globals{},
ServerDefaults: []map[string]string{
{