Skip to content

Commit 21893bc

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.535.1
1 parent cd875a0 commit 21893bc

24 files changed

+68
-181
lines changed

.speakeasy/gen.lock

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 2858c6d9-f946-4185-ae68-3b8e708830fb
33
management:
4-
docChecksum: 711b3f6457c659edd2d9b9d7c32fc154
4+
docChecksum: 8e7108c1d91dd68426e05e155eea40e5
55
docVersion: 0.4.0
6-
speakeasyVersion: 1.533.0
7-
generationVersion: 2.578.0
8-
releaseVersion: 3.26.5
9-
configChecksum: 6368b2e55a173af6c685e29bb724c22c
6+
speakeasyVersion: 1.535.1
7+
generationVersion: 2.585.2
8+
releaseVersion: 3.26.6
9+
configChecksum: 818f6e7fa2608e82f7daca365906612f
1010
repoURL: https://github.com/speakeasy-api/speakeasy-client-sdk-go.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/speakeasy-api/speakeasy-client-sdk-go
@@ -262,7 +262,6 @@ generatedFiles:
262262
- docs/pkg/models/operations/getpublishingtokenresponse.md
263263
- docs/pkg/models/operations/getpublishingtokentargetbyidrequest.md
264264
- docs/pkg/models/operations/getpublishingtokentargetbyidresponse.md
265-
- docs/pkg/models/operations/getpublishingtokentargetbyidresponsebody.md
266265
- docs/pkg/models/operations/getrevisionsrequest.md
267266
- docs/pkg/models/operations/getrevisionsresponse.md
268267
- docs/pkg/models/operations/getschemastoreitemrequestbody.md
@@ -534,7 +533,6 @@ generatedFiles:
534533
- tests/mockserver/internal/handler/pathgetv1publishingtokens.go
535534
- tests/mockserver/internal/handler/pathgetv1publishingtokenstokenid.go
536535
- tests/mockserver/internal/handler/pathgetv1publishingtokenstokenidmetadata.go
537-
- tests/mockserver/internal/handler/pathgetv1publishingtokenstokenidtarget.go
538536
- tests/mockserver/internal/handler/pathgetv1reportschangesdocumentchecksum.go
539537
- tests/mockserver/internal/handler/pathgetv1reportslintingdocumentchecksum.go
540538
- tests/mockserver/internal/handler/pathgetv1schemastore.go
@@ -796,6 +794,7 @@ examples:
796794
responses:
797795
"200":
798796
application/json: {}
797+
text/plain: "<value>"
799798
4XX:
800799
application/json: {"message": "<value>", "status_code": 297644}
801800
updatePublishingTokenExpiration:

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
speakeasyVersion: 1.533.0
1+
speakeasyVersion: 1.535.1
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:14684ab600a855a644218db2a55c634bdb98fa4b07087118d14264258002a86d
6-
sourceBlobDigest: sha256:f9444653744aa4a4ca763e60284ec246889d5345d43d6544058196709ead8a39
5+
sourceRevisionDigest: sha256:16b656838f47778df7338dbc955b828042ac50b4f43e8fab9c222cb750d6cfe8
6+
sourceBlobDigest: sha256:f2d1e073b00081bfb7918b31d08cb00e7cd6c8563bf488872251583b98c8be5c
77
tags:
88
- latest
99
- main
@@ -12,10 +12,10 @@ targets:
1212
speakeasy-client-sdk-go:
1313
source: my-source
1414
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:14684ab600a855a644218db2a55c634bdb98fa4b07087118d14264258002a86d
16-
sourceBlobDigest: sha256:f9444653744aa4a4ca763e60284ec246889d5345d43d6544058196709ead8a39
15+
sourceRevisionDigest: sha256:16b656838f47778df7338dbc955b828042ac50b4f43e8fab9c222cb750d6cfe8
16+
sourceBlobDigest: sha256:f2d1e073b00081bfb7918b31d08cb00e7cd6c8563bf488872251583b98c8be5c
1717
codeSamplesNamespace: code-samples-go-speakeasy-client-sdk-go
18-
codeSamplesRevisionDigest: sha256:598fc52545d862ca04ef79f53b32893e6bc22c7dd21448954c14338948a41d59
18+
codeSamplesRevisionDigest: sha256:7ddfb50c020c0603a10f76dffff3fd36423345035f68a2a6ddfc9894e268814c
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1716,4 +1716,14 @@ Based on:
17161716
### Generated
17171717
- [go v3.26.5] .
17181718
### Releases
1719-
- [Go v3.26.5] https://github.com/speakeasy-api/speakeasy-client-sdk-go/releases/tag/v3.26.5 - .
1719+
- [Go v3.26.5] https://github.com/speakeasy-api/speakeasy-client-sdk-go/releases/tag/v3.26.5 - .
1720+
1721+
## 2025-04-17 22:02:13
1722+
### Changes
1723+
Based on:
1724+
- OpenAPI Doc
1725+
- Speakeasy CLI 1.535.1 (2.585.2) https://github.com/speakeasy-api/speakeasy
1726+
### Generated
1727+
- [go v3.26.6] .
1728+
### Releases
1729+
- [Go v3.26.6] https://github.com/speakeasy-api/speakeasy-client-sdk-go/releases/tag/v3.26.6 - .

codeSamples.yaml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1527,7 +1527,7 @@ actions:
15271527
if err != nil {
15281528
log.Fatal(err)
15291529
}
1530-
if res.Object != nil {
1530+
if res.Res != nil {
15311531
// handle response
15321532
}
15331533
}
@@ -1850,9 +1850,7 @@ actions:
18501850
18511851
res, err := s.Suggest.SuggestItems(ctx, shared.SuggestItemsRequestBody{
18521852
Prompt: "<value>",
1853-
Items: []string{
1854-
1855-
},
1853+
Items: []string{},
18561854
})
18571855
if err != nil {
18581856
log.Fatal(err)
@@ -1982,14 +1980,10 @@ actions:
19821980
Version: "<value>",
19831981
License: shared.License{},
19841982
},
1985-
Operations: []shared.OASOperation{
1986-
1987-
},
1983+
Operations: []shared.OASOperation{},
19881984
},
19891985
SuggestionType: shared.SuggestRequestBodySuggestionTypeDiagnosticsOnly,
1990-
Diagnostics: []shared.Diagnostic{
1991-
1992-
},
1986+
Diagnostics: []shared.Diagnostic{},
19931987
},
19941988
})
19951989
if err != nil {

docs/pkg/models/operations/getpublishingtokentargetbyidresponse.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
8-
| `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
9-
| `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
10-
| `RawResponse` | [*http.Response](https://pkg.go.dev/net/http#Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
11-
| `Object` | [*operations.GetPublishingTokenTargetByIDResponseBody](../../../pkg/models/operations/getpublishingtokentargetbyidresponsebody.md) | :heavy_minus_sign: | OK |
6+
| Field | Type | Required | Description |
7+
| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- |
8+
| `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
9+
| `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
10+
| `RawResponse` | [*http.Response](https://pkg.go.dev/net/http#Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
11+
| `Res` | **string* | :heavy_minus_sign: | OK |

docs/pkg/models/operations/getpublishingtokentargetbyidresponsebody.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

docs/sdks/publishingtokens/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ func main() {
330330
if err != nil {
331331
log.Fatal(err)
332332
}
333-
if res.Object != nil {
333+
if res.Res != nil {
334334
// handle response
335335
}
336336
}

docs/sdks/suggest/README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,7 @@ func main() {
5151
},
5252
shared.Diagnostic{
5353
Message: "<value>",
54-
Path: []string{
55-
56-
},
54+
Path: []string{},
5755
Type: "<value>",
5856
},
5957
},
@@ -135,9 +133,7 @@ func main() {
135133
)
136134

137135
res, err := s.Suggest.SuggestItems(ctx, shared.SuggestItemsRequestBody{
138-
Items: []string{
139-
140-
},
136+
Items: []string{},
141137
Prompt: "<value>",
142138
})
143139
if err != nil {

gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ generation:
1919
tests:
2020
generateNewTests: true
2121
go:
22-
version: 3.26.5
22+
version: 3.26.6
2323
additionalDependencies: {}
2424
allowUnknownFieldsInWeakUnions: false
2525
clientServerStatusCodesAsErrors: true

pkg/models/operations/getpublishingtokentargetbyid.go

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ func (o *GetPublishingTokenTargetByIDRequest) GetTokenID() string {
1818
return o.TokenID
1919
}
2020

21-
// GetPublishingTokenTargetByIDResponseBody - OK
22-
type GetPublishingTokenTargetByIDResponseBody struct {
23-
}
24-
2521
type GetPublishingTokenTargetByIDResponse struct {
2622
// HTTP response content type for this operation
2723
ContentType string
@@ -30,7 +26,7 @@ type GetPublishingTokenTargetByIDResponse struct {
3026
// Raw HTTP response; suitable for custom response parsing
3127
RawResponse *http.Response
3228
// OK
33-
Object *GetPublishingTokenTargetByIDResponseBody
29+
Res *string
3430
}
3531

3632
func (o *GetPublishingTokenTargetByIDResponse) GetContentType() string {
@@ -54,9 +50,9 @@ func (o *GetPublishingTokenTargetByIDResponse) GetRawResponse() *http.Response {
5450
return o.RawResponse
5551
}
5652

57-
func (o *GetPublishingTokenTargetByIDResponse) GetObject() *GetPublishingTokenTargetByIDResponseBody {
53+
func (o *GetPublishingTokenTargetByIDResponse) GetRes() *string {
5854
if o == nil {
5955
return nil
6056
}
61-
return o.Object
57+
return o.Res
6258
}

0 commit comments

Comments
 (0)