Skip to content

Commit 2ef7dae

Browse files
committed
ci: regenerated with OpenAPI Doc 0.4.0 ., Speakeasy CLI 1.285.1
1 parent 7a58a29 commit 2ef7dae

34 files changed

+237
-270
lines changed

.speakeasy/gen.lock

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,28 @@
11
lockVersion: 2.0.0
22
id: f73d2126-985b-4d69-88ee-b7c69254d8bf
33
management:
4-
docChecksum: 5b0eee49ab3aced27d58ad63f2f07d70
4+
docChecksum: 781d670121afeffb63b7a5292c609f7f
55
docVersion: 0.4.0 .
6-
speakeasyVersion: 1.279.0
7-
generationVersion: 2.322.5
8-
releaseVersion: 5.5.2
9-
configChecksum: 36c5d5bde3ef9142299ad52b6be894f9
6+
speakeasyVersion: 1.285.1
7+
generationVersion: 2.326.3
8+
releaseVersion: 5.6.0
9+
configChecksum: bca938a533e889d139a794a3b1389da8
1010
repoURL: https://github.com/speakeasy-api/speakeasy-client-sdk-csharp.git
1111
repoSubDirectory: .
1212
published: true
1313
features:
1414
csharp:
15+
additionalDependencies: 0.1.0
1516
core: 3.8.3
1617
examples: 2.81.3
1718
globalSecurity: 2.83.4
19+
globalSecurityCallbacks: 0.1.0
1820
globalServerURLs: 2.82.3
1921
globals: 2.82.1
2022
inputOutputModels: 2.83.0
23+
intellisenseMarkdownSupport: 0.1.0
2124
responseFormat: 0.0.3
25+
sdkHooks: 0.1.0
2226
serverIDs: 2.82.1
2327
generatedFiles:
2428
- SpeakeasySDK/Apis.cs

README.md

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,9 @@ using SpeakeasySDK.Models.Shared;
2121
using SpeakeasySDK.Models.Operations;
2222
using System.Collections.Generic;
2323

24-
var sdk = new Speakeasy(
25-
security: new Security() {
24+
var sdk = new Speakeasy(security: new Security() {
2625
APIKey = "<YOUR_API_KEY_HERE>",
27-
},
28-
workspaceID: "<value>");
26+
});
2927

3028
GetApisRequest req = new GetApisRequest() {};
3129

@@ -160,11 +158,9 @@ using SpeakeasySDK;
160158
using SpeakeasySDK.Models.Shared;
161159
using SpeakeasySDK.Models.Operations;
162160

163-
var sdk = new Speakeasy(
164-
security: new Security() {
161+
var sdk = new Speakeasy(security: new Security() {
165162
APIKey = "<YOUR_API_KEY_HERE>",
166-
},
167-
workspaceID: "<value>");
163+
});
168164

169165
DeleteApiRequest req = new DeleteApiRequest() {
170166
ApiID = "<value>",
@@ -203,11 +199,9 @@ using SpeakeasySDK;
203199
using SpeakeasySDK.Models.Shared;
204200
using SpeakeasySDK.Models.Operations;
205201

206-
var sdk = new Speakeasy(
207-
security: new Security() {
202+
var sdk = new Speakeasy(security: new Security() {
208203
APIKey = "<YOUR_API_KEY_HERE>",
209-
},
210-
workspaceID: "<value>");
204+
});
211205

212206
GetWorkspaceEventsByTargetRequest req = new GetWorkspaceEventsByTargetRequest() {
213207
TargetID = "<value>",
@@ -238,11 +232,9 @@ using System;
238232
using SpeakeasySDK.Models.Errors;
239233
using SpeakeasySDK.Models.Operations;
240234

241-
var sdk = new Speakeasy(
242-
security: new Security() {
235+
var sdk = new Speakeasy(security: new Security() {
243236
APIKey = "<YOUR_API_KEY_HERE>",
244-
},
245-
workspaceID: "<value>");
237+
});
246238

247239
GetWorkspaceEventsByTargetRequest req = new GetWorkspaceEventsByTargetRequest() {
248240
TargetID = "<value>",

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,4 +608,14 @@ Based on:
608608
### Generated
609609
- [csharp v5.5.2] .
610610
### Releases
611-
- [NuGet v5.5.2] https://www.nuget.org/packages/SpeakeasySDK/5.5.2 - .
611+
- [NuGet v5.5.2] https://www.nuget.org/packages/SpeakeasySDK/5.5.2 - .
612+
613+
## 2024-05-09 00:03:24
614+
### Changes
615+
Based on:
616+
- OpenAPI Doc 0.4.0 . https://docs.speakeasyapi.dev/openapi.yaml
617+
- Speakeasy CLI 1.285.1 (2.326.3) https://github.com/speakeasy-api/speakeasy
618+
### Generated
619+
- [csharp v5.6.0] .
620+
### Releases
621+
- [NuGet v5.6.0] https://www.nuget.org/packages/SpeakeasySDK/5.6.0 - .

SpeakeasySDK/ApiEndpoints.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,10 @@ public class ApiEndpoints: IApiEndpoints
9898
{
9999
public SDKConfig SDKConfiguration { get; private set; }
100100
private const string _language = "csharp";
101-
private const string _sdkVersion = "5.5.2";
102-
private const string _sdkGenVersion = "2.322.5";
101+
private const string _sdkVersion = "5.6.0";
102+
private const string _sdkGenVersion = "2.326.3";
103103
private const string _openapiDocVersion = "0.4.0 .";
104-
private const string _userAgent = "speakeasy-sdk/csharp 5.5.2 2.322.5 0.4.0 . SpeakeasySDK";
104+
private const string _userAgent = "speakeasy-sdk/csharp 5.6.0 2.326.3 0.4.0 . SpeakeasySDK";
105105
private string _serverUrl = "";
106106
private ISpeakeasyHttpClient _defaultClient;
107107
private Func<Security>? _securitySource;
@@ -439,7 +439,7 @@ public async Task<GeneratePostmanCollectionForApiEndpointResponse> GeneratePostm
439439
ContentType = contentType,
440440
RawResponse = httpResponse
441441
};
442-
response.PostmanCollection = await httpResponse.Content.ReadAsByteArrayAsync();;
442+
response.PostmanCollection = await httpResponse.Content.ReadAsByteArrayAsync();
443443
return response;
444444
}
445445
else

SpeakeasySDK/Apis.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,10 @@ public class Apis: IApis
9494
{
9595
public SDKConfig SDKConfiguration { get; private set; }
9696
private const string _language = "csharp";
97-
private const string _sdkVersion = "5.5.2";
98-
private const string _sdkGenVersion = "2.322.5";
97+
private const string _sdkVersion = "5.6.0";
98+
private const string _sdkGenVersion = "2.326.3";
9999
private const string _openapiDocVersion = "0.4.0 .";
100-
private const string _userAgent = "speakeasy-sdk/csharp 5.5.2 2.322.5 0.4.0 . SpeakeasySDK";
100+
private const string _userAgent = "speakeasy-sdk/csharp 5.6.0 2.326.3 0.4.0 . SpeakeasySDK";
101101
private string _serverUrl = "";
102102
private ISpeakeasyHttpClient _defaultClient;
103103
private Func<Security>? _securitySource;
@@ -343,7 +343,7 @@ public async Task<GeneratePostmanCollectionResponse> GeneratePostmanCollectionAs
343343
ContentType = contentType,
344344
RawResponse = httpResponse
345345
};
346-
response.PostmanCollection = await httpResponse.Content.ReadAsByteArrayAsync();;
346+
response.PostmanCollection = await httpResponse.Content.ReadAsByteArrayAsync();
347347
return response;
348348
}
349349
else

SpeakeasySDK/Artifacts.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ public class Artifacts: IArtifacts
5757
{
5858
public SDKConfig SDKConfiguration { get; private set; }
5959
private const string _language = "csharp";
60-
private const string _sdkVersion = "5.5.2";
61-
private const string _sdkGenVersion = "2.322.5";
60+
private const string _sdkVersion = "5.6.0";
61+
private const string _sdkGenVersion = "2.326.3";
6262
private const string _openapiDocVersion = "0.4.0 .";
63-
private const string _userAgent = "speakeasy-sdk/csharp 5.5.2 2.322.5 0.4.0 . SpeakeasySDK";
63+
private const string _userAgent = "speakeasy-sdk/csharp 5.6.0 2.326.3 0.4.0 . SpeakeasySDK";
6464
private string _serverUrl = "";
6565
private ISpeakeasyHttpClient _defaultClient;
6666
private Func<Security>? _securitySource;
@@ -132,7 +132,7 @@ public async Task<GetBlobResponse> GetBlobAsync(GetBlobRequest request)
132132
ContentType = contentType,
133133
RawResponse = httpResponse
134134
};
135-
response.Blob = await httpResponse.Content.ReadAsByteArrayAsync();;
135+
response.Blob = await httpResponse.Content.ReadAsByteArrayAsync();
136136
return response;
137137
}
138138
else

SpeakeasySDK/Auth.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ public class Auth: IAuth
6060
{
6161
public SDKConfig SDKConfiguration { get; private set; }
6262
private const string _language = "csharp";
63-
private const string _sdkVersion = "5.5.2";
64-
private const string _sdkGenVersion = "2.322.5";
63+
private const string _sdkVersion = "5.6.0";
64+
private const string _sdkGenVersion = "2.326.3";
6565
private const string _openapiDocVersion = "0.4.0 .";
66-
private const string _userAgent = "speakeasy-sdk/csharp 5.5.2 2.322.5 0.4.0 . SpeakeasySDK";
66+
private const string _userAgent = "speakeasy-sdk/csharp 5.6.0 2.326.3 0.4.0 . SpeakeasySDK";
6767
private string _serverUrl = "";
6868
private ISpeakeasyHttpClient _defaultClient;
6969
private Func<Security>? _securitySource;

SpeakeasySDK/Embeds.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ public class Embeds: IEmbeds
5656
{
5757
public SDKConfig SDKConfiguration { get; private set; }
5858
private const string _language = "csharp";
59-
private const string _sdkVersion = "5.5.2";
60-
private const string _sdkGenVersion = "2.322.5";
59+
private const string _sdkVersion = "5.6.0";
60+
private const string _sdkGenVersion = "2.326.3";
6161
private const string _openapiDocVersion = "0.4.0 .";
62-
private const string _userAgent = "speakeasy-sdk/csharp 5.5.2 2.322.5 0.4.0 . SpeakeasySDK";
62+
private const string _userAgent = "speakeasy-sdk/csharp 5.6.0 2.326.3 0.4.0 . SpeakeasySDK";
6363
private string _serverUrl = "";
6464
private ISpeakeasyHttpClient _defaultClient;
6565
private Func<Security>? _securitySource;

SpeakeasySDK/Events.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ public class Events: IEvents
6060
{
6161
public SDKConfig SDKConfiguration { get; private set; }
6262
private const string _language = "csharp";
63-
private const string _sdkVersion = "5.5.2";
64-
private const string _sdkGenVersion = "2.322.5";
63+
private const string _sdkVersion = "5.6.0";
64+
private const string _sdkGenVersion = "2.326.3";
6565
private const string _openapiDocVersion = "0.4.0 .";
66-
private const string _userAgent = "speakeasy-sdk/csharp 5.5.2 2.322.5 0.4.0 . SpeakeasySDK";
66+
private const string _userAgent = "speakeasy-sdk/csharp 5.6.0 2.326.3 0.4.0 . SpeakeasySDK";
6767
private string _serverUrl = "";
6868
private ISpeakeasyHttpClient _defaultClient;
6969
private Func<Security>? _securitySource;

SpeakeasySDK/Metadata.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ public class Metadata: IMetadata
5151
{
5252
public SDKConfig SDKConfiguration { get; private set; }
5353
private const string _language = "csharp";
54-
private const string _sdkVersion = "5.5.2";
55-
private const string _sdkGenVersion = "2.322.5";
54+
private const string _sdkVersion = "5.6.0";
55+
private const string _sdkGenVersion = "2.326.3";
5656
private const string _openapiDocVersion = "0.4.0 .";
57-
private const string _userAgent = "speakeasy-sdk/csharp 5.5.2 2.322.5 0.4.0 . SpeakeasySDK";
57+
private const string _userAgent = "speakeasy-sdk/csharp 5.6.0 2.326.3 0.4.0 . SpeakeasySDK";
5858
private string _serverUrl = "";
5959
private ISpeakeasyHttpClient _defaultClient;
6060
private Func<Security>? _securitySource;

SpeakeasySDK/Models/Shared/CliEvent.cs

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,12 @@ public class CliEvent
9696
[JsonProperty("generate_config_pre_version")]
9797
public string? GenerateConfigPreVersion { get; set; }
9898

99+
/// <summary>
100+
/// Eligible feature set during generation
101+
/// </summary>
102+
[JsonProperty("generate_eligible_features")]
103+
public string? GenerateEligibleFeatures { get; set; }
104+
99105
/// <summary>
100106
/// gen.lock ID (expected to be a uuid).
101107
/// </summary>
@@ -150,6 +156,18 @@ public class CliEvent
150156
[JsonProperty("generate_gen_lock_pre_version")]
151157
public string? GenerateGenLockPreVersion { get; set; }
152158

159+
/// <summary>
160+
/// The number of operations ignored in generation.
161+
/// </summary>
162+
[JsonProperty("generate_number_of_operations_ignored")]
163+
public long? GenerateNumberOfOperationsIgnored { get; set; }
164+
165+
/// <summary>
166+
/// The number of operations used in generation.
167+
/// </summary>
168+
[JsonProperty("generate_number_of_operations_used")]
169+
public long? GenerateNumberOfOperationsUsed { get; set; }
170+
153171
/// <summary>
154172
/// Indicates whether tests were output.
155173
/// </summary>
@@ -192,6 +210,12 @@ public class CliEvent
192210
[JsonProperty("gh_action_organization")]
193211
public string? GhActionOrganization { get; set; }
194212

213+
/// <summary>
214+
/// GitHub Action ref value.
215+
/// </summary>
216+
[JsonProperty("gh_action_ref")]
217+
public string? GhActionRef { get; set; }
218+
195219
/// <summary>
196220
/// GitHub repository of the action.
197221
/// </summary>

SpeakeasySDK/Models/Shared/TargetSDK.cs

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ public class TargetSDK
4242
[JsonProperty("generate_config_post_version")]
4343
public string? GenerateConfigPostVersion { get; set; }
4444

45+
/// <summary>
46+
/// Eligible feature set during generation
47+
/// </summary>
48+
[JsonProperty("generate_eligible_features")]
49+
public string? GenerateEligibleFeatures { get; set; }
50+
4551
/// <summary>
4652
/// gen.lock ID (expected to be a uuid). The same as `id`. A unique identifier for the target.
4753
/// </summary>
@@ -60,6 +66,18 @@ public class TargetSDK
6066
[JsonProperty("generate_gen_lock_pre_version")]
6167
public string? GenerateGenLockPreVersion { get; set; }
6268

69+
/// <summary>
70+
/// The number of operations ignored in generation.
71+
/// </summary>
72+
[JsonProperty("generate_number_of_operations_ignored")]
73+
public long? GenerateNumberOfOperationsIgnored { get; set; }
74+
75+
/// <summary>
76+
/// The number of operations used in generation.
77+
/// </summary>
78+
[JsonProperty("generate_number_of_operations_used")]
79+
public long? GenerateNumberOfOperationsUsed { get; set; }
80+
6381
/// <summary>
6482
/// Indicates whether the target was considered published.
6583
/// </summary>
@@ -90,6 +108,12 @@ public class TargetSDK
90108
[JsonProperty("gh_action_organization")]
91109
public string? GhActionOrganization { get; set; }
92110

111+
/// <summary>
112+
/// GitHub Action ref value.
113+
/// </summary>
114+
[JsonProperty("gh_action_ref")]
115+
public string? GhActionRef { get; set; }
116+
93117
/// <summary>
94118
/// GitHub repository of the action.
95119
/// </summary>

SpeakeasySDK/Organizations.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ public class Organizations: IOrganizations
3838
{
3939
public SDKConfig SDKConfiguration { get; private set; }
4040
private const string _language = "csharp";
41-
private const string _sdkVersion = "5.5.2";
42-
private const string _sdkGenVersion = "2.322.5";
41+
private const string _sdkVersion = "5.6.0";
42+
private const string _sdkGenVersion = "2.326.3";
4343
private const string _openapiDocVersion = "0.4.0 .";
44-
private const string _userAgent = "speakeasy-sdk/csharp 5.5.2 2.322.5 0.4.0 . SpeakeasySDK";
44+
private const string _userAgent = "speakeasy-sdk/csharp 5.6.0 2.326.3 0.4.0 . SpeakeasySDK";
4545
private string _serverUrl = "";
4646
private ISpeakeasyHttpClient _defaultClient;
4747
private Func<Security>? _securitySource;

SpeakeasySDK/Reports.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ public class Reports: IReports
5151
{
5252
public SDKConfig SDKConfiguration { get; private set; }
5353
private const string _language = "csharp";
54-
private const string _sdkVersion = "5.5.2";
55-
private const string _sdkGenVersion = "2.322.5";
54+
private const string _sdkVersion = "5.6.0";
55+
private const string _sdkGenVersion = "2.326.3";
5656
private const string _openapiDocVersion = "0.4.0 .";
57-
private const string _userAgent = "speakeasy-sdk/csharp 5.5.2 2.322.5 0.4.0 . SpeakeasySDK";
57+
private const string _userAgent = "speakeasy-sdk/csharp 5.6.0 2.326.3 0.4.0 . SpeakeasySDK";
5858
private string _serverUrl = "";
5959
private ISpeakeasyHttpClient _defaultClient;
6060
private Func<Security>? _securitySource;

SpeakeasySDK/Requests.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ public class Requests: IRequests
6161
{
6262
public SDKConfig SDKConfiguration { get; private set; }
6363
private const string _language = "csharp";
64-
private const string _sdkVersion = "5.5.2";
65-
private const string _sdkGenVersion = "2.322.5";
64+
private const string _sdkVersion = "5.6.0";
65+
private const string _sdkGenVersion = "2.326.3";
6666
private const string _openapiDocVersion = "0.4.0 .";
67-
private const string _userAgent = "speakeasy-sdk/csharp 5.5.2 2.322.5 0.4.0 . SpeakeasySDK";
67+
private const string _userAgent = "speakeasy-sdk/csharp 5.6.0 2.326.3 0.4.0 . SpeakeasySDK";
6868
private string _serverUrl = "";
6969
private ISpeakeasyHttpClient _defaultClient;
7070
private Func<Security>? _securitySource;
@@ -136,7 +136,7 @@ public async Task<GenerateRequestPostmanCollectionResponse> GenerateRequestPostm
136136
ContentType = contentType,
137137
RawResponse = httpResponse
138138
};
139-
response.PostmanCollection = await httpResponse.Content.ReadAsByteArrayAsync();;
139+
response.PostmanCollection = await httpResponse.Content.ReadAsByteArrayAsync();
140140
return response;
141141
}
142142
else

0 commit comments

Comments
 (0)