Skip to content

Commit 2271f50

Browse files
committed
ci: regenerated with OpenAPI Doc 0.3.0, Speakeasy CLI 1.161.0
1 parent 973dd4f commit 2271f50

File tree

22 files changed

+114
-111
lines changed

22 files changed

+114
-111
lines changed

.speakeasy/gen.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@ management:
44
docChecksum: ba638b2ad28966c596e28321a2003686
55
docVersion: 0.3.0
66
speakeasyVersion: internal
7-
generationVersion: 2.237.2
8-
releaseVersion: 2.3.1
9-
configChecksum: 80c8ab98feea932ef9ce06465f8c6375
7+
generationVersion: 2.245.1
8+
releaseVersion: 3.0.0
9+
configChecksum: 79f37e2d96bbb04a0e7c2f62b58e1b2c
1010
repoURL: https://github.com/speakeasy-api/speakeasy-client-sdk-csharp.git
1111
repoSubDirectory: .
1212
published: true
1313
features:
1414
csharp:
1515
core: 3.3.1
1616
examples: 2.81.3
17-
globalSecurity: 2.81.3
17+
globalSecurity: 2.82.0
1818
globalServerURLs: 2.82.2
1919
inputOutputModels: 2.83.0
20-
serverIDs: 2.82.0
20+
serverIDs: 2.82.1
2121
generatedFiles:
2222
- SpeakeasySDK/Apis.cs
2323
- SpeakeasySDK/ApiEndpoints.cs

README.md

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ 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>",
2726
});
2827

@@ -128,6 +127,32 @@ You can override the default server globally by passing a server name to the `se
128127
The default server can also be overridden globally by passing a URL to the `serverUrl: str` optional parameter when initializing the SDK client instance. For example:
129128
<!-- End Server Selection [server] -->
130129

130+
<!-- Start Authentication [security] -->
131+
## Authentication
132+
133+
### Per-Client Security Schemes
134+
135+
This SDK supports the following security scheme globally:
136+
137+
| Name | Type | Scheme |
138+
| -------- | -------- | -------- |
139+
| `apiKey` | apiKey | API key |
140+
141+
You can set the security parameters through the `security` optional parameter when initializing the SDK client instance. For example:
142+
```csharp
143+
using SpeakeasySDK;
144+
using SpeakeasySDK.Models.Shared;
145+
146+
var sdk = new Speakeasy(security: new Security() {
147+
APIKey = "<YOUR_API_KEY_HERE>",
148+
});
149+
150+
var res = await sdk.ValidateApiKeyAsync();
151+
152+
// handle response
153+
```
154+
<!-- End Authentication [security] -->
155+
131156
<!-- Placeholder for Future Speakeasy SDK Sections -->
132157

133158

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,4 +388,14 @@ Based on:
388388
### Generated
389389
- [csharp v2.3.1] .
390390
### Releases
391-
- [NuGet v2.3.1] https://www.nuget.org/packages/SpeakeasySDK/2.3.1 - .
391+
- [NuGet v2.3.1] https://www.nuget.org/packages/SpeakeasySDK/2.3.1 - .
392+
393+
## 2024-02-01 00:03:48
394+
### Changes
395+
Based on:
396+
- OpenAPI Doc 0.3.0 https://docs.speakeasyapi.dev/openapi.yaml
397+
- Speakeasy CLI 1.161.0 (2.245.1) https://github.com/speakeasy-api/speakeasy
398+
### Generated
399+
- [csharp v3.0.0] .
400+
### Releases
401+
- [NuGet v3.0.0] https://www.nuget.org/packages/SpeakeasySDK/3.0.0 - .

SpeakeasySDK/ApiEndpoints.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,10 @@ public class ApiEndpoints: IApiEndpoints
9696
{
9797
public SDKConfig SDKConfiguration { get; private set; }
9898
private const string _language = "csharp";
99-
private const string _sdkVersion = "2.3.1";
100-
private const string _sdkGenVersion = "2.237.2";
99+
private const string _sdkVersion = "3.0.0";
100+
private const string _sdkGenVersion = "2.245.1";
101101
private const string _openapiDocVersion = "0.3.0";
102-
private const string _userAgent = "speakeasy-sdk/csharp 2.3.1 2.237.2 0.3.0 SpeakeasySDK";
102+
private const string _userAgent = "speakeasy-sdk/csharp 3.0.0 2.245.1 0.3.0 SpeakeasySDK";
103103
private string _serverUrl = "";
104104
private ISpeakeasyHttpClient _defaultClient;
105105
private ISpeakeasyHttpClient _securityClient;

SpeakeasySDK/Apis.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,10 @@ public class Apis: IApis
9292
{
9393
public SDKConfig SDKConfiguration { get; private set; }
9494
private const string _language = "csharp";
95-
private const string _sdkVersion = "2.3.1";
96-
private const string _sdkGenVersion = "2.237.2";
95+
private const string _sdkVersion = "3.0.0";
96+
private const string _sdkGenVersion = "2.245.1";
9797
private const string _openapiDocVersion = "0.3.0";
98-
private const string _userAgent = "speakeasy-sdk/csharp 2.3.1 2.237.2 0.3.0 SpeakeasySDK";
98+
private const string _userAgent = "speakeasy-sdk/csharp 3.0.0 2.245.1 0.3.0 SpeakeasySDK";
9999
private string _serverUrl = "";
100100
private ISpeakeasyHttpClient _defaultClient;
101101
private ISpeakeasyHttpClient _securityClient;

SpeakeasySDK/Embeds.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ public class Embeds: IEmbeds
5454
{
5555
public SDKConfig SDKConfiguration { get; private set; }
5656
private const string _language = "csharp";
57-
private const string _sdkVersion = "2.3.1";
58-
private const string _sdkGenVersion = "2.237.2";
57+
private const string _sdkVersion = "3.0.0";
58+
private const string _sdkGenVersion = "2.245.1";
5959
private const string _openapiDocVersion = "0.3.0";
60-
private const string _userAgent = "speakeasy-sdk/csharp 2.3.1 2.237.2 0.3.0 SpeakeasySDK";
60+
private const string _userAgent = "speakeasy-sdk/csharp 3.0.0 2.245.1 0.3.0 SpeakeasySDK";
6161
private string _serverUrl = "";
6262
private ISpeakeasyHttpClient _defaultClient;
6363
private ISpeakeasyHttpClient _securityClient;

SpeakeasySDK/Metadata.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ public class Metadata: IMetadata
4949
{
5050
public SDKConfig SDKConfiguration { get; private set; }
5151
private const string _language = "csharp";
52-
private const string _sdkVersion = "2.3.1";
53-
private const string _sdkGenVersion = "2.237.2";
52+
private const string _sdkVersion = "3.0.0";
53+
private const string _sdkGenVersion = "2.245.1";
5454
private const string _openapiDocVersion = "0.3.0";
55-
private const string _userAgent = "speakeasy-sdk/csharp 2.3.1 2.237.2 0.3.0 SpeakeasySDK";
55+
private const string _userAgent = "speakeasy-sdk/csharp 3.0.0 2.245.1 0.3.0 SpeakeasySDK";
5656
private string _serverUrl = "";
5757
private ISpeakeasyHttpClient _defaultClient;
5858
private ISpeakeasyHttpClient _securityClient;

SpeakeasySDK/Plugins.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ public class Plugins: IPlugins
4949
{
5050
public SDKConfig SDKConfiguration { get; private set; }
5151
private const string _language = "csharp";
52-
private const string _sdkVersion = "2.3.1";
53-
private const string _sdkGenVersion = "2.237.2";
52+
private const string _sdkVersion = "3.0.0";
53+
private const string _sdkGenVersion = "2.245.1";
5454
private const string _openapiDocVersion = "0.3.0";
55-
private const string _userAgent = "speakeasy-sdk/csharp 2.3.1 2.237.2 0.3.0 SpeakeasySDK";
55+
private const string _userAgent = "speakeasy-sdk/csharp 3.0.0 2.245.1 0.3.0 SpeakeasySDK";
5656
private string _serverUrl = "";
5757
private ISpeakeasyHttpClient _defaultClient;
5858
private ISpeakeasyHttpClient _securityClient;

SpeakeasySDK/Requests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ public class Requests: IRequests
5959
{
6060
public SDKConfig SDKConfiguration { get; private set; }
6161
private const string _language = "csharp";
62-
private const string _sdkVersion = "2.3.1";
63-
private const string _sdkGenVersion = "2.237.2";
62+
private const string _sdkVersion = "3.0.0";
63+
private const string _sdkGenVersion = "2.245.1";
6464
private const string _openapiDocVersion = "0.3.0";
65-
private const string _userAgent = "speakeasy-sdk/csharp 2.3.1 2.237.2 0.3.0 SpeakeasySDK";
65+
private const string _userAgent = "speakeasy-sdk/csharp 3.0.0 2.245.1 0.3.0 SpeakeasySDK";
6666
private string _serverUrl = "";
6767
private ISpeakeasyHttpClient _defaultClient;
6868
private ISpeakeasyHttpClient _securityClient;

SpeakeasySDK/Schemas.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,10 @@ public class Schemas: ISchemas
9494
{
9595
public SDKConfig SDKConfiguration { get; private set; }
9696
private const string _language = "csharp";
97-
private const string _sdkVersion = "2.3.1";
98-
private const string _sdkGenVersion = "2.237.2";
97+
private const string _sdkVersion = "3.0.0";
98+
private const string _sdkGenVersion = "2.245.1";
9999
private const string _openapiDocVersion = "0.3.0";
100-
private const string _userAgent = "speakeasy-sdk/csharp 2.3.1 2.237.2 0.3.0 SpeakeasySDK";
100+
private const string _userAgent = "speakeasy-sdk/csharp 3.0.0 2.245.1 0.3.0 SpeakeasySDK";
101101
private string _serverUrl = "";
102102
private ISpeakeasyHttpClient _defaultClient;
103103
private ISpeakeasyHttpClient _securityClient;

0 commit comments

Comments
 (0)