Skip to content

Commit 0aa1279

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.469.12
1 parent d25b67a commit 0aa1279

31 files changed

+403
-1106
lines changed

.speakeasy/gen.lock

+239-729
Large diffs are not rendered by default.

.speakeasy/workflow.lock

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.468.2
1+
speakeasyVersion: 1.469.12
22
sources:
33
speakeasy:
44
sourceNamespace: speakeasy
5-
sourceRevisionDigest: sha256:8af7ebde12785185cdbd700c1b3b6b8848b43d34f1fe8c06fff5ae4af471faf2
6-
sourceBlobDigest: sha256:952a58da1511e3191ea8e470c7f01a4e3785d11d9152f490a3e5a7173c8542e7
5+
sourceRevisionDigest: sha256:0fad8ef1cd8d1144e0da37999992b7f55e0a88811d16202a2bcf9dad7e0e48b1
6+
sourceBlobDigest: sha256:89100d40a58b27e5294c921a7c698253b084d037635894f0a7c15ab40e224589
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1735949986
9+
- speakeasy-sdk-regen-1736900413
1010
- 0.4.0
1111
targets:
1212
speakeasy-client-sdk-csharp:
1313
source: speakeasy
1414
sourceNamespace: speakeasy
15-
sourceRevisionDigest: sha256:8af7ebde12785185cdbd700c1b3b6b8848b43d34f1fe8c06fff5ae4af471faf2
16-
sourceBlobDigest: sha256:952a58da1511e3191ea8e470c7f01a4e3785d11d9152f490a3e5a7173c8542e7
15+
sourceRevisionDigest: sha256:0fad8ef1cd8d1144e0da37999992b7f55e0a88811d16202a2bcf9dad7e0e48b1
16+
sourceBlobDigest: sha256:89100d40a58b27e5294c921a7c698253b084d037635894f0a7c15ab40e224589
1717
codeSamplesNamespace: code-samples-csharp-speakeasy-client-sdk-csharp
18-
codeSamplesRevisionDigest: sha256:aacf508e82244f7628670bda7c73bdda3a36059c4143c3566f2b4d4935251ec8
18+
codeSamplesRevisionDigest: sha256:88e1187f0edd3aa0ed463f32a915d88e23142e166a92b6a88321943a4ffe2f5b
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

CONTRIBUTING.md

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Contributing to This Repository
2+
3+
Thank you for your interest in contributing to this repository. Please note that this repository contains generated code. As such, we do not accept direct changes or pull requests. Instead, we encourage you to follow the guidelines below to report issues and suggest improvements.
4+
5+
## How to Report Issues
6+
7+
If you encounter any bugs or have suggestions for improvements, please open an issue on GitHub. When reporting an issue, please provide as much detail as possible to help us reproduce the problem. This includes:
8+
9+
- A clear and descriptive title
10+
- Steps to reproduce the issue
11+
- Expected and actual behavior
12+
- Any relevant logs, screenshots, or error messages
13+
- Information about your environment (e.g., operating system, software versions)
14+
- For example can be collected using the `npx envinfo` command from your terminal if you have Node.js installed
15+
16+
## Issue Triage and Upstream Fixes
17+
18+
We will review and triage issues as quickly as possible. Our goal is to address bugs and incorporate improvements in the upstream source code. Fixes will be included in the next generation of the generated code.
19+
20+
## Contact
21+
22+
If you have any questions or need further assistance, please feel free to reach out by opening an issue.
23+
24+
Thank you for your understanding and cooperation!
25+
26+
The Maintainers

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ var res = await sdk.Artifacts.CreateRemoteSourceAsync(req);
102102

103103
* [GenerateCodeSamplePreview](docs/sdks/codesamples/README.md#generatecodesamplepreview) - Generate Code Sample previews from a file and configuration parameters.
104104
* [GenerateCodeSamplePreviewAsync](docs/sdks/codesamples/README.md#generatecodesamplepreviewasync) - Initiate asynchronous Code Sample preview generation from a file and configuration parameters, receiving an async JobID response for polling.
105-
* [Get](docs/sdks/codesamples/README.md#get) - Retrieve usage snippets from document stored in the registry
106105
* [GetCodeSamplePreviewAsync](docs/sdks/codesamples/README.md#getcodesamplepreviewasync) - Poll for the result of an asynchronous Code Sample preview generation.
107106

108107
### [Events](docs/sdks/events/README.md)

RELEASES.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -949,4 +949,14 @@ Based on:
949949
### Generated
950950
- [csharp v5.12.0] .
951951
### Releases
952-
- [NuGet v5.12.0] https://www.nuget.org/packages/SpeakeasySDK/5.12.0 - .
952+
- [NuGet v5.12.0] https://www.nuget.org/packages/SpeakeasySDK/5.12.0 - .
953+
954+
## 2025-01-22 00:19:57
955+
### Changes
956+
Based on:
957+
- OpenAPI Doc
958+
- Speakeasy CLI 1.469.12 (2.493.34) https://github.com/speakeasy-api/speakeasy
959+
### Generated
960+
- [csharp v5.12.1] .
961+
### Releases
962+
- [NuGet v5.12.1] https://www.nuget.org/packages/SpeakeasySDK/5.12.1 - .

codeSamples.yaml

-21
Original file line numberDiff line numberDiff line change
@@ -205,27 +205,6 @@ actions:
205205
206206
var res = await sdk.Auth.ValidateApiKeyAsync();
207207
208-
// handle response
209-
- target: $["paths"]["/v1/code_sample"]["get"]
210-
update:
211-
x-codeSamples:
212-
- lang: csharp
213-
label: getCodeSamples
214-
source: |-
215-
using SpeakeasySDK;
216-
using SpeakeasySDK.Models.Operations;
217-
using SpeakeasySDK.Models.Shared;
218-
219-
var sdk = new SDK(security: new Security() {
220-
APIKey = "<YOUR_API_KEY_HERE>",
221-
});
222-
223-
GetCodeSamplesRequest req = new GetCodeSamplesRequest() {
224-
RegistryUrl = "https://normal-making.name",
225-
};
226-
227-
var res = await sdk.CodeSamples.GetAsync(req);
228-
229208
// handle response
230209
- target: $["paths"]["/v1/code_sample/preview"]["post"]
231210
update:

docs/Models/Operations/GetCodeSamplesRequest.md

-10
This file was deleted.

docs/Models/Operations/GetCodeSamplesResponse.md

-11
This file was deleted.

docs/Models/Shared/UsageSnippet.md

-10
This file was deleted.

docs/Models/Shared/UsageSnippets.md

-8
This file was deleted.

docs/Models/Shared/User.md

+1
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@
1717
| `Internal` | *bool* | :heavy_minus_sign: | Indicates whether the user is internal. |
1818
| `LastLoginAt` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | Timestamp of the last login. |
1919
| `PhotoUrl` | *string* | :heavy_minus_sign: | URL of the user's photo. |
20+
| `PylonIdentityHash` | *string* | :heavy_minus_sign: | Hash used for pylon identity verification returned on v1/user. |
2021
| `UpdatedAt` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_check_mark: | Timestamp of the user's last update. |
2122
| `Whitelisted` | *bool* | :heavy_check_mark: | Indicates whether the user has been whitelisted. |

docs/sdks/codesamples/README.md

+6-45
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ REST APIs for retrieving Code Samples
99

1010
* [GenerateCodeSamplePreview](#generatecodesamplepreview) - Generate Code Sample previews from a file and configuration parameters.
1111
* [GenerateCodeSamplePreviewAsync](#generatecodesamplepreviewasync) - Initiate asynchronous Code Sample preview generation from a file and configuration parameters, receiving an async JobID response for polling.
12-
* [Get](#get) - Retrieve usage snippets from document stored in the registry
1312
* [GetCodeSamplePreviewAsync](#getcodesamplepreviewasync) - Poll for the result of an asynchronous Code Sample preview generation.
1413

1514
## GenerateCodeSamplePreview
@@ -57,7 +56,8 @@ var res = await sdk.CodeSamples.GenerateCodeSamplePreviewAsync(req);
5756

5857
| Error Type | Status Code | Content Type |
5958
| -------------------------------- | -------------------------------- | -------------------------------- |
60-
| SpeakeasySDK.Models.Errors.Error | 4XX, 5XX | application/json |
59+
| SpeakeasySDK.Models.Errors.Error | 4XX | application/json |
60+
| SpeakeasySDK.Models.Errors.Error | 5XX | application/json |
6161

6262
## GenerateCodeSamplePreviewAsync
6363

@@ -104,48 +104,8 @@ var res = await sdk.CodeSamples.GenerateCodeSamplePreviewAsyncAsync(req);
104104

105105
| Error Type | Status Code | Content Type |
106106
| -------------------------------- | -------------------------------- | -------------------------------- |
107-
| SpeakeasySDK.Models.Errors.Error | 4XX, 5XX | application/json |
108-
109-
## Get
110-
111-
Retrieve usage snippets from document stored in the registry. Supports filtering by language and operation ID.
112-
113-
### Example Usage
114-
115-
```csharp
116-
using SpeakeasySDK;
117-
using SpeakeasySDK.Models.Operations;
118-
using SpeakeasySDK.Models.Shared;
119-
120-
var sdk = new SDK(security: new Security() {
121-
APIKey = "<YOUR_API_KEY_HERE>",
122-
});
123-
124-
GetCodeSamplesRequest req = new GetCodeSamplesRequest() {
125-
RegistryUrl = "https://normal-making.name",
126-
};
127-
128-
var res = await sdk.CodeSamples.GetAsync(req);
129-
130-
// handle response
131-
```
132-
133-
### Parameters
134-
135-
| Parameter | Type | Required | Description |
136-
| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- |
137-
| `request` | [GetCodeSamplesRequest](../../Models/Operations/GetCodeSamplesRequest.md) | :heavy_check_mark: | The request object to use for the request. |
138-
139-
### Response
140-
141-
**[GetCodeSamplesResponse](../../Models/Operations/GetCodeSamplesResponse.md)**
142-
143-
### Errors
144-
145-
| Error Type | Status Code | Content Type |
146-
| --------------------------------------- | --------------------------------------- | --------------------------------------- |
147-
| SpeakeasySDK.Models.Errors.Error | 4XX | application/json |
148-
| SpeakeasySDK.Models.Errors.SDKException | 5XX | \*/\* |
107+
| SpeakeasySDK.Models.Errors.Error | 4XX | application/json |
108+
| SpeakeasySDK.Models.Errors.Error | 5XX | application/json |
149109

150110
## GetCodeSamplePreviewAsync
151111

@@ -185,4 +145,5 @@ var res = await sdk.CodeSamples.GetCodeSamplePreviewAsyncAsync(req);
185145

186146
| Error Type | Status Code | Content Type |
187147
| -------------------------------- | -------------------------------- | -------------------------------- |
188-
| SpeakeasySDK.Models.Errors.Error | 4XX, 5XX | application/json |
148+
| SpeakeasySDK.Models.Errors.Error | 4XX | application/json |
149+
| SpeakeasySDK.Models.Errors.Error | 5XX | application/json |

gen.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ generation:
1111
oAuth2ClientCredentialsEnabled: false
1212
oAuth2PasswordEnabled: false
1313
csharp:
14-
version: 5.12.0
14+
version: 5.12.1
1515
additionalDependencies: []
1616
author: Speakeasy
1717
clientServerStatusCodesAsErrors: true

src/SpeakeasySDK/Artifacts.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ public class Artifacts: IArtifacts
7878
{
7979
public SDKConfig SDKConfiguration { get; private set; }
8080
private const string _language = "csharp";
81-
private const string _sdkVersion = "5.12.0";
82-
private const string _sdkGenVersion = "2.493.4";
81+
private const string _sdkVersion = "5.12.1";
82+
private const string _sdkGenVersion = "2.493.34";
8383
private const string _openapiDocVersion = "0.4.0";
84-
private const string _userAgent = "speakeasy-sdk/csharp 5.12.0 2.493.4 0.4.0 SpeakeasySDK";
84+
private const string _userAgent = "speakeasy-sdk/csharp 5.12.1 2.493.34 0.4.0 SpeakeasySDK";
8585
private string _serverUrl = "";
8686
private ISpeakeasyHttpClient _client;
8787
private Func<SpeakeasySDK.Models.Shared.Security>? _securitySource;

0 commit comments

Comments
 (0)